From 69ffc879644a8edfd9308a889b16f4042e2f0b5e Mon Sep 17 00:00:00 2001
From: Campbell Barton <ideasman42@gmail.com>
Date: Mon, 22 Jun 2020 15:04:55 +1000
Subject: [PATCH] Fix T77568: turnaround camera crashes undoing

---
 camera_turnaround.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/camera_turnaround.py b/camera_turnaround.py
index 6ffd63814..935f486e2 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):
         # ----------------------
-- 
GitLab