[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [3102] contrib/py/scripts/addons/ space_view3d_paint_bprojection.py: BProjection: numpad shortcut was still bugy, the plan position was not update.

geo kgeo kgeogeo at hotmail.com
Tue Mar 13 17:11:05 CET 2012


Revision: 3102
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=3102
Author:   kgeogeo
Date:     2012-03-13 16:10:58 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
BProjection: numpad shortcut was still bugy, the plan position was not update. last commit for today.sorry for the 10 commit in an half hours but I want it work good

Modified Paths:
--------------
    contrib/py/scripts/addons/space_view3d_paint_bprojection.py

Modified: contrib/py/scripts/addons/space_view3d_paint_bprojection.py
===================================================================
--- contrib/py/scripts/addons/space_view3d_paint_bprojection.py	2012-03-13 15:58:21 UTC (rev 3101)
+++ contrib/py/scripts/addons/space_view3d_paint_bprojection.py	2012-03-13 16:10:58 UTC (rev 3102)
@@ -540,6 +540,8 @@
         if bpy.context.object.custom_rot:
             pos_end = view3d_utils.region_2d_to_location_3d(bpy.context.region, bpy.context.space_data.region_3d, pos_init, Vector((0,0,0)))                
             bpy.context.space_data.region_3d.view_location =  -1*pos_end
+            align_to_view(context)
+        
                     
         return {'FINISHED'}
 



More information about the Bf-extensions-cvs mailing list