Fix T55443: Manipulators not refreshing

This commit is contained in:
Dalai Felinto 2018-06-15 15:44:14 +02:00
parent 0b8c2eed75
commit badb700161
Notes: blender-bot 2023-02-14 05:44:22 +01:00
Referenced by issue #55443, manipulators not refreshing
1 changed files with 4 additions and 0 deletions

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;
}