From 08fbc48ee56f5ff9ff7ba32401f22420434d718d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 28 Dec 2012 10:08:17 +0000 Subject: 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. --- source/blender/windowmanager/intern/wm_operators.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/windowmanager/intern/wm_operators.c') 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; -- cgit v1.2.3