[Bf-blender-cvs] [01b9dfeab49] blender-v2.92-release: Fix T84684: Undo operators not working

Julian Eisel noreply at git.blender.org
Wed Jan 13 23:41:24 CET 2021


Commit: 01b9dfeab49783f040145824eaf2029c494a4a8a
Author: Julian Eisel
Date:   Wed Jan 13 23:33:23 2021 +0100
Branches: blender-v2.92-release
https://developer.blender.org/rB01b9dfeab49783f040145824eaf2029c494a4a8a

Fix T84684: Undo operators not working

Mistake in 2771dfd5632a. The commit left the new editors operator registration
in `ed_util_ops.c`, but removed the function call to it.
In other words, the ED-utils operators were not registered.

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

M	source/blender/editors/space_api/spacetypes.c

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

diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index 0fe94ec382c..10fa2c19919 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -65,6 +65,7 @@
 #include "ED_space_api.h"
 #include "ED_transform.h"
 #include "ED_userpref.h"
+#include "ED_util.h"
 #include "ED_uvedit.h"
 
 #include "io_ops.h"
@@ -124,6 +125,7 @@ void ED_spacetypes_init(void)
   ED_operatortypes_render();
   ED_operatortypes_mask();
   ED_operatortypes_io();
+  ED_operatortypes_edutils();
 
   ED_operatortypes_view2d();
   ED_operatortypes_ui();



More information about the Bf-blender-cvs mailing list