Fix T55443: Manipulators not refreshing

This commit is contained in:
Dalai Felinto
2018-06-15 15:44:14 +02:00
parent 0b8c2eed75
commit badb700161

View File

@@ -45,6 +45,7 @@
#include "RNA_enum_types.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_types.h"
#include "UI_interface.h"
@@ -167,6 +168,9 @@ static int select_orientation_exec(bContext *C, wmOperator *op)
WM_event_add_notifier(C, NC_SCENE | ND_TOOLSETTINGS, NULL);
struct wmMsgBus *mbus = CTX_wm_message_bus(C);
WM_msg_publish_rna_prop(mbus, &scene->id, scene, Scene, transform_orientation);
return OPERATOR_FINISHED;
}