Quick fix for 2012-03-14 bug report in the tracker (when addon was enabled, switching...
authorDima Glib <dima.glib@gmail.com>
Wed, 14 Mar 2012 18:14:01 +0000 (18:14 +0000)
committerDima Glib <dima.glib@gmail.com>
Wed, 14 Mar 2012 18:14:01 +0000 (18:14 +0000)
space_view3d_enhanced_3d_cursor.py

index 68ffa244131be2a21092242444e9a38490e7c6e4..28161bd2d1b59b8eb0e9dbb72c263cfb84142c89 100644 (file)
@@ -4057,11 +4057,15 @@ class CursorMonitor(bpy.types.Operator):
             self.just_initialized = False
         # ================== #
         
+        # Seems like recalc_csu() in this place causes trouble
+        # if space type is switched from 3D to e.g. UV
+        '''
         tfm_operator = CursorDynamicSettings.active_transform_operator
         if tfm_operator:
             CursorDynamicSettings.csu = tfm_operator.csu
         else:
             CursorDynamicSettings.recalc_csu(context, event.value)
+        '''
         
         return {'PASS_THROUGH'}