diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-28 14:08:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-28 14:08:17 +0400 |
commit | 08fbc48ee56f5ff9ff7ba32401f22420434d718d (patch) | |
tree | c1ce9a99901d4a2eb17117453cd22d351b3c5556 /source/blender/windowmanager/intern/wm_operators.c | |
parent | 67b76a70bce8331c8c65bdd4c493011b320e380a (diff) |
revert r53356, this stopped the leak but still wasn't working nice.
Add asserts when CTX_data_pointer_get/CTX_data_collection_get are incorrectly used.
disable context inspection for now, Will enable again when its working properly.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operators.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operators.c | 2 |
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 8867101779a..39164995cc5 100644 --- a/source/blender/windowmanager/intern/wm_operators.c +++ b/source/blender/windowmanager/intern/wm_operators.c @@ -583,7 +583,7 @@ static char *wm_prop_pystring_from_context(bContext *C, PointerRNA *ptr, Propert for (link = lb.first; link; link = link->next) { const char *identifier = link->data; - PointerRNA ctx_item_ptr = CTX_data_pointer_get(C, identifier); + PointerRNA ctx_item_ptr = {{0}}; // CTX_data_pointer_get(C, identifier); if (ctx_item_ptr.type == NULL) { continue; |