Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-04-16 18:20:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-16 18:29:51 +0300
commit0bf630493f6a2644dd6c0fc2bf745edd7a86a083 (patch)
treeb298f0f04e5600538860bbd9ba42ccf1f2404b3f /source/blender/windowmanager/intern/wm_operators.c
parentfa4b2d25cb32caba2ccd90603a6fc02d84e437d0 (diff)
Fix missing owner_id values from 919558854d624f5db40acfa9f5674ac8c94873b6
This prevented dynamic enum callbacks being called.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 9499ac56932..6f98ecfd621 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -1207,7 +1207,7 @@ IDProperty *WM_operator_last_properties_ensure_idprops(wmOperatorType *ot)
void WM_operator_last_properties_ensure(wmOperatorType *ot, PointerRNA *ptr)
{
IDProperty *props = WM_operator_last_properties_ensure_idprops(ot);
- RNA_pointer_create(NULL, ot->srna, props, ptr);
+ RNA_pointer_create(G_MAIN->wm.first, ot->srna, props, ptr);
}
/**