forked from bartvdbraak/blender
Fix T49224: Crash due to dangling value in 'Object.proxy_from' pointer.
Why/how this may happen remains a mystery, so for now simply clearing this runtime-only pointer on Object reading...
This commit is contained in:
parent
ff57589afc
commit
159ac3f638
@ -5303,6 +5303,9 @@ static void direct_link_object(FileData *fd, Object *ob)
|
||||
*/
|
||||
ob->recalc = 0;
|
||||
|
||||
/* XXX This should not be needed - but seems like it can happen in some cases, so for now play safe... */
|
||||
ob->proxy_from = NULL;
|
||||
|
||||
/* loading saved files with editmode enabled works, but for undo we like
|
||||
* to stay in object mode during undo presses so keep editmode disabled.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user