[Bf-extensions-cvs] [69ffc879] master: Fix T77568: turnaround camera crashes undoing

Campbell Barton noreply at git.blender.org
Mon Jun 22 07:05:33 CEST 2020


Commit: 69ffc879644a8edfd9308a889b16f4042e2f0b5e
Author: Campbell Barton
Date:   Mon Jun 22 15:04:55 2020 +1000
Branches: master
https://developer.blender.org/rBA69ffc879644a8edfd9308a889b16f4042e2f0b5e

Fix T77568: turnaround camera crashes undoing

===================================================================

M	camera_turnaround.py

===================================================================

diff --git a/camera_turnaround.py b/camera_turnaround.py
index 6ffd6381..935f486e 100644
--- a/camera_turnaround.py
+++ b/camera_turnaround.py
@@ -50,6 +50,7 @@ class CAMERATURN_OT_RunAction(Operator):
     bl_idname = "object.rotate_around"
     bl_label = "Turnaround"
     bl_description = "Create camera rotation around selected object"
+    bl_options = {'REGISTER', 'UNDO'}
 
     def execute(self, context):
         # ----------------------



More information about the Bf-extensions-cvs mailing list