[Bf-blender-cvs] [73169628a18] master: Fix T84684: Undo operators not working

Julian Eisel noreply at git.blender.org
Wed Jan 13 23:40:09 CET 2021


Commit: 73169628a1853fcc5e93c6d0c70c6668452b8a61
Author: Julian Eisel
Date:   Wed Jan 13 23:33:23 2021 +0100
Branches: master
https://developer.blender.org/rB73169628a1853fcc5e93c6d0c70c6668452b8a61

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