[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4000] contrib/py/scripts/addons/ space_view3d_paint_bprojection.py: Possible last fix, to see if the workflow is ok like this
geo kgeo
kgeogeo at hotmail.com
Fri Nov 23 14:53:52 CET 2012
Revision: 4000
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4000
Author: kgeogeo
Date: 2012-11-23 13:53:51 +0000 (Fri, 23 Nov 2012)
Log Message:
-----------
Possible last fix, to see if the workflow is ok like this
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-11-23 13:41:08 UTC (rev 3999)
+++ contrib/py/scripts/addons/space_view3d_paint_bprojection.py 2012-11-23 13:53:51 UTC (rev 4000)
@@ -1136,16 +1136,14 @@
self.block = 1
if event.value == 'RELEASE':
- self.key = ['']
- self.block = 0
+ return {'FINISHED'}
if event.type == 'MOUSEMOVE':
if self.block == 0:
self.tracball(context, event.mouse_region_x, event.mouse_region_y,ob.location)
align_to_view(context)
- self.first_mouse = Vector((event.mouse_region_x, self.first_mouse.y))
- if self.first_time:
-
+ #to unlock the camera
+ if self.first_time:
rot_ang = context.user_preferences.view.rotation_angle
context.user_preferences.view.rotation_angle = 0
bpy.ops.view3d.view_orbit(type='ORBITLEFT')
More information about the Bf-extensions-cvs
mailing list