Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41532] branches/cycles: Cycles: svn merge -r41467:41531 ^/trunk/blender

2011-11-05 Thread Daniel Salazar - 3Developer.com
after the camera lens changes in this commit cycles viewport/render
wont look the
same as the ogl viewport

btw bf-cycles mailing list is bouncing back mails

Daniel Salazar
3Developer.com



On Fri, Nov 4, 2011 at 2:21 PM, Brecht Van Lommel
brechtvanlom...@pandora.be wrote:
 Revision: 41532
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=41532
 Author:   blendix
 Date:     2011-11-04 20:21:40 + (Fri, 04 Nov 2011)
 Log Message:
 ---
 Cycles: svn merge -r41467:41531 ^/trunk/blender

 Revision Links:
 --
    
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=41467

 Modified Paths:
 --
    branches/cycles/CMakeLists.txt
    branches/cycles/build_files/cmake/Modules/FindPythonLibsUnix.cmake
    branches/cycles/build_files/cmake/project_info.py
    branches/cycles/build_files/scons/config/win32-vc-config.py
    branches/cycles/build_files/scons/config/win64-vc-config.py
    branches/cycles/build_files/scons/tools/Blender.py
    branches/cycles/build_files/scons/tools/btools.py
    branches/cycles/doc/python_api/sphinx_doc_gen.py
    branches/cycles/intern/audaspace/Python/AUD_PyAPI.cpp
    branches/cycles/intern/ghost/CMakeLists.txt
    branches/cycles/intern/ghost/intern/GHOST_SystemPathsX11.cpp
    branches/cycles/release/scripts/modules/bpy/__init__.py
    branches/cycles/release/scripts/startup/bl_operators/presets.py
    branches/cycles/release/scripts/startup/bl_ui/properties_data_camera.py
    branches/cycles/release/scripts/startup/bl_ui/space_dopesheet.py
    branches/cycles/release/scripts/startup/bl_ui/space_graph.py
    branches/cycles/release/scripts/startup/bl_ui/space_nla.py
    branches/cycles/release/scripts/startup/bl_ui/space_sequencer.py
    branches/cycles/release/scripts/startup/bl_ui/space_time.py
    branches/cycles/release/scripts/startup/bl_ui/space_view3d.py
    branches/cycles/release/scripts/startup/bl_ui/space_view3d_toolbar.py
    branches/cycles/source/blender/blenfont/intern/blf_font.c
    branches/cycles/source/blender/blenkernel/BKE_blender.h
    branches/cycles/source/blender/blenkernel/BKE_curve.h
    branches/cycles/source/blender/blenkernel/BKE_depsgraph.h
    branches/cycles/source/blender/blenkernel/BKE_global.h
    branches/cycles/source/blender/blenkernel/BKE_object.h
    branches/cycles/source/blender/blenkernel/BKE_screen.h
    branches/cycles/source/blender/blenkernel/intern/anim.c
    branches/cycles/source/blender/blenkernel/intern/constraint.c
    branches/cycles/source/blender/blenkernel/intern/curve.c
    branches/cycles/source/blender/blenkernel/intern/depsgraph.c
    branches/cycles/source/blender/blenkernel/intern/node.c
    branches/cycles/source/blender/blenkernel/intern/object.c
    branches/cycles/source/blender/blenkernel/intern/scene.c
    branches/cycles/source/blender/blenkernel/intern/screen.c
    branches/cycles/source/blender/blenkernel/intern/subsurf_ccg.c
    branches/cycles/source/blender/blenlib/BLI_math_rotation.h
    branches/cycles/source/blender/blenlib/CMakeLists.txt
    branches/cycles/source/blender/blenlib/intern/math_rotation.c
    branches/cycles/source/blender/blenlib/intern/path_util.c
    branches/cycles/source/blender/blenlib/intern/uvproject.c
    branches/cycles/source/blender/blenloader/intern/readfile.c
    branches/cycles/source/blender/collada/CameraExporter.cpp
    branches/cycles/source/blender/collada/DocumentImporter.cpp
    branches/cycles/source/blender/editors/include/ED_render.h
    branches/cycles/source/blender/editors/interface/interface.c
    branches/cycles/source/blender/editors/interface/interface_handlers.c
    branches/cycles/source/blender/editors/interface/interface_ops.c
    branches/cycles/source/blender/editors/object/object_bake.c
    branches/cycles/source/blender/editors/object/object_transform.c
    branches/cycles/source/blender/editors/render/render_internal.c
    branches/cycles/source/blender/editors/render/render_view.c
    branches/cycles/source/blender/editors/sculpt_paint/paint_image.c
    branches/cycles/source/blender/editors/sculpt_paint/sculpt.c
    branches/cycles/source/blender/editors/space_image/image_ops.c
    branches/cycles/source/blender/editors/space_node/drawnode.c
    branches/cycles/source/blender/editors/space_outliner/outliner_tree.c
    branches/cycles/source/blender/editors/space_view3d/drawobject.c
    branches/cycles/source/blender/editors/space_view3d/view3d_buttons.c
    branches/cycles/source/blender/editors/space_view3d/view3d_draw.c
    branches/cycles/source/blender/editors/space_view3d/view3d_edit.c
    branches/cycles/source/blender/editors/space_view3d/view3d_intern.h
    branches/cycles/source/blender/editors/space_view3d/view3d_view.c
    branches/cycles/source/blender/imbuf/intern/moviecache.c
    branches/cycles/source/blender/makesdna/DNA_camera_types.h
    branches/cycles/source/blender/makesdna/DNA_object_types.h
    

[Bf-committers] Patch: Reduce hopping when switching between perspective and ohthographic on 3D view

2011-11-05 Thread Yasuhiro Fujii
I would be grateful if this patch would be reviewed.

Patch:
http://projects.blender.org/tracker/index.php?func=detailaid=29142group_id=9atid=127

Before patched, when pressing F5:
http://mimosa-pudica.net/tmp/blender-orth-before.gif

After patched:
http://mimosa-pudica.net/tmp/blender-orth-after.gif

Sorry that I had a mistake to send this mail to bf-cycles at first.

-- y.fujii
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41550] trunk/blender: Disable x-mirror option when proportional edit is enabled.

2011-11-05 Thread Martin Poirier
It's not a matter of not confusing users, it's broken, period. There's only 
very limited conditions where it would actual work and not have very unexpected 
behaviour (like part of the mesh staying fixed in place for example).

The only way to fix this is to redo the x-mirror feature.


Of course, feel free to enable it in a local build if you want, but don't 
complain when it doesn't do what you want.


Martin




From: Daniel Salazar - 3Developer.com zan...@gmail.com
To: bf-committers@blender.org
Sent: Saturday, November 5, 2011 11:46:20 AM
Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender 
[41550] trunk/blender: Disable x-mirror option when proportional edit is 
enabled.

I miss this.. should not be disabled in the sake of not confusing
users, isn't there a better way? no warning and breaking mirror when
you expect it to work is worst. maybe there's a compromise. i hope so
at least!

cheers!

Daniel Salazar
3Developer.com



On Sat, Nov 5, 2011 at 4:19 AM, Sergey Sharybin g.ula...@gmail.com wrote:
 Revision: 41550
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=41550
 Author:   nazgul
 Date:     2011-11-05 10:19:36 + (Sat, 05 Nov 2011)
 Log Message:
 ---
 Disable x-mirror option when proportional edit is enabled.

 This option isn't supported because it behaves strangely in 50% of cases and
 hopefully disabled x-mirror will stop users be confused by this.

 Modified Paths:
 --
    trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
    trunk/blender/source/blender/editors/space_view3d/space_view3d.c

 Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
 ===
 --- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
 2011-11-05 08:40:07 UTC (rev 41549)
 +++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
 2011-11-05 10:19:36 UTC (rev 41550)
 @@ -179,18 +179,21 @@
         ob = context.active_object

         if ob:
 +            tool_settings = context.tool_settings
             mesh = ob.data
 +
             col = layout.column(align=True)
 +            col.active = tool_settings.proportional_edit == 'DISABLED'
             col.prop(mesh, use_mirror_x)
 -            sub = col.column()
 -            sub.active = ob.data.use_mirror_x
 -            sub.prop(mesh, use_mirror_topology)

 -            ts = context.tool_settings
 +            row = col.row()
 +            row.active = ob.data.use_mirror_x
 +            row.prop(mesh, use_mirror_topology)

 -            col.label(Edge Select Mode)
 -            col.prop(ts, edge_path_mode, text=)
 -            col.prop(context.tool_settings, edge_path_live_unwrap)
 +            col = layout.column(align=True)
 +            col.label(Edge Select Mode:)
 +            col.prop(tool_settings, edge_path_mode, text=)
 +            col.prop(tool_settings, edge_path_live_unwrap)

  # ** default tools for editmode_curve 


 Modified: trunk/blender/source/blender/editors/space_view3d/space_view3d.c
 ===
 --- trunk/blender/source/blender/editors/space_view3d/space_view3d.c    
 2011-11-05 08:40:07 UTC (rev 41549)
 +++ trunk/blender/source/blender/editors/space_view3d/space_view3d.c    
 2011-11-05 10:19:36 UTC (rev 41550)
 @@ -874,6 +874,7 @@
                                case ND_MODE:
                                case ND_LAYER:
                                case ND_LAYER_CONTENT:
 +                               case ND_TOOLSETTINGS:
                                        ED_region_tag_redraw(ar);
                                        break;
                        }

 ___
 Bf-blender-cvs mailing list
 bf-blender-...@blender.org
 http://lists.blender.org/mailman/listinfo/bf-blender-cvs

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [41550] trunk/blender: Disable x-mirror option when proportional edit is enabled.

2011-11-05 Thread Daniel Salazar - 3Developer.com
that is what I'm saying, if it doesn't work properly i hope it can get
recoded someday

cheers!

Daniel Salazar
3Developer.com



On Sat, Nov 5, 2011 at 11:27 AM, Martin Poirier the...@yahoo.com wrote:
 It's not a matter of not confusing users, it's broken, period. There's only 
 very limited conditions where it would actual work and not have very 
 unexpected behaviour (like part of the mesh staying fixed in place for 
 example).

 The only way to fix this is to redo the x-mirror feature.


 Of course, feel free to enable it in a local build if you want, but don't 
 complain when it doesn't do what you want.


 Martin



 
 From: Daniel Salazar - 3Developer.com zan...@gmail.com
 To: bf-committers@blender.org
 Sent: Saturday, November 5, 2011 11:46:20 AM
 Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: 
 /data/svn/bf-blender [41550] trunk/blender: Disable x-mirror option when 
 proportional edit is enabled.

 I miss this.. should not be disabled in the sake of not confusing
 users, isn't there a better way? no warning and breaking mirror when
 you expect it to work is worst. maybe there's a compromise. i hope so
 at least!

 cheers!

 Daniel Salazar
 3Developer.com



 On Sat, Nov 5, 2011 at 4:19 AM, Sergey Sharybin g.ula...@gmail.com wrote:
 Revision: 41550
          
 http://projects.blender.org/scm/viewvc.php?view=revroot=bf-blenderrevision=41550
 Author:   nazgul
 Date:     2011-11-05 10:19:36 + (Sat, 05 Nov 2011)
 Log Message:
 ---
 Disable x-mirror option when proportional edit is enabled.

 This option isn't supported because it behaves strangely in 50% of cases and
 hopefully disabled x-mirror will stop users be confused by this.

 Modified Paths:
 --
    trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
    trunk/blender/source/blender/editors/space_view3d/space_view3d.c

 Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py
 ===
 --- trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
 2011-11-05 08:40:07 UTC (rev 41549)
 +++ trunk/blender/release/scripts/startup/bl_ui/space_view3d_toolbar.py 
 2011-11-05 10:19:36 UTC (rev 41550)
 @@ -179,18 +179,21 @@
         ob = context.active_object

         if ob:
 +            tool_settings = context.tool_settings
             mesh = ob.data
 +
             col = layout.column(align=True)
 +            col.active = tool_settings.proportional_edit == 'DISABLED'
             col.prop(mesh, use_mirror_x)
 -            sub = col.column()
 -            sub.active = ob.data.use_mirror_x
 -            sub.prop(mesh, use_mirror_topology)

 -            ts = context.tool_settings
 +            row = col.row()
 +            row.active = ob.data.use_mirror_x
 +            row.prop(mesh, use_mirror_topology)

 -            col.label(Edge Select Mode)
 -            col.prop(ts, edge_path_mode, text=)
 -            col.prop(context.tool_settings, edge_path_live_unwrap)
 +            col = layout.column(align=True)
 +            col.label(Edge Select Mode:)
 +            col.prop(tool_settings, edge_path_mode, text=)
 +            col.prop(tool_settings, edge_path_live_unwrap)

  # ** default tools for editmode_curve 


 Modified: trunk/blender/source/blender/editors/space_view3d/space_view3d.c
 ===
 --- trunk/blender/source/blender/editors/space_view3d/space_view3d.c    
 2011-11-05 08:40:07 UTC (rev 41549)
 +++ trunk/blender/source/blender/editors/space_view3d/space_view3d.c    
 2011-11-05 10:19:36 UTC (rev 41550)
 @@ -874,6 +874,7 @@
                                case ND_MODE:
                                case ND_LAYER:
                                case ND_LAYER_CONTENT:
 +                               case ND_TOOLSETTINGS:
                                        ED_region_tag_redraw(ar);
                                        break;
                        }

 ___
 Bf-blender-cvs mailing list
 bf-blender-...@blender.org
 http://lists.blender.org/mailman/listinfo/bf-blender-cvs

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Animation Hack Panel

2011-11-05 Thread Thomas Dinges
Hi Joshua,
any updates on this? Could you do if before 2.61 release please?

Regards,
Thomas

Am 29.10.2011 15:07, schrieb Thomas Dinges:
 Great, thanks for the quick reply,
 could you remove the options? :)

 Best regards,
 Thomas

 Am 29.10.2011 15:00, schrieb Joshua Leung:
 IIRC, apart from the tracking axis settings all the other settings
 in general do not work in general.

 The Slow Parent option only works for Game Engine IIRC, and cannot
 work for anything else.

 Everything else may/may not work, but IMO all should just be removed.
 They were too much of a pain managing, and complicated the whole
 time beast.

 On Sun, Oct 30, 2011 at 1:54 AM, Thomas Dingesblen...@dingto.org   wrote:
 Hey Joshua,
 I got some reports here at the conference that the buttons in the
 Animation Hacks panel (inside the object context) do not work. Also the
 name does not sound nice for release builds.

 Could you give us an update on its status? Can it be removed?

 Best regards,
 Thomas

 --
 Thomas Dinges
 Blender Developer, Artist and Musician

 www.dingto.org

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers



-- 
Thomas Dinges
Blender Developer, Artist and Musician

www.dingto.org

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


[Bf-committers] Please help me debugging

2011-11-05 Thread Rainer Hohne
Hi there,

being quite new to debugging, I would be glad if you could explain to me
how to trace function calls from the GUI. Currently I can only see what
function blender is at when it crashes (using DDD on Ubuntu), but I need to
know which C function is being called for example if I click a certain
button in the GUI.

So can someone please explain what I need to do to get such a live
backtrace of GUI interactions (if possible at all) - do I need a debug
build of python or something like that ?

Rainer
___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers


Re: [Bf-committers] Please help me debugging

2011-11-05 Thread Nicholas Bishop
Most UI controls are either invoking operators or setting properties
through RNA. You can usually see the name of an operator/property in
the buttons tooltip. You can also run blender with the `-d' flag which
will then spit out the operator name on stdout when you click
something.

Sometimes setting a property will do more than update the value; you
can check the RNA definitions in makesrna/intern/rna_* to see if it
has functions associated with it.

For operators, the Python name shown by the UI is a bit different from
the name in the C source code, e.g. `bpy.ops.sculpt.brush_stroke' vs.
`SCULPT_OT_brush_stroke', so be aware of that when grepping for
definitions.

So, to give example, if I wanted to see find the C function called
when creating a cube, I'd run `blender -d', shift+AKEY to add the
cube, which prints out `MESH_OT_primitive_cube_add' in the console.
Then you can grep (or even quicker, TAGS file or equivalent) for
`primitive_add_cube', which leads you to editmesh_add.c:1436. This
shows the operator definition, and the actual functions called will be
set in the operator's invoke/exec fields.

There are probably more automated ways to go about this too, but
hopefully that helps a bit.

-Nicholas

On Sat, Nov 5, 2011 at 6:42 PM, Rainer Hohne raho...@googlemail.com wrote:
 Hi there,

 being quite new to debugging, I would be glad if you could explain to me
 how to trace function calls from the GUI. Currently I can only see what
 function blender is at when it crashes (using DDD on Ubuntu), but I need to
 know which C function is being called for example if I click a certain
 button in the GUI.

 So can someone please explain what I need to do to get such a live
 backtrace of GUI interactions (if possible at all) - do I need a debug
 build of python or something like that ?

 Rainer
 ___
 Bf-committers mailing list
 Bf-committers@blender.org
 http://lists.blender.org/mailman/listinfo/bf-committers

___
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers