Make scene statistics to respect locked interface
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 28 Jan 2019 11:47:39 +0000 (12:47 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 28 Jan 2019 11:49:45 +0000 (12:49 +0100)
commit704b336899dd0a308f9160fa53478d2aaed9f730
tree4097de7c0770eb7eb984ec9fb86f273ac423b006
parentcb69a039e74b21ea2d5469b776719fbc9aea45ac
Make scene statistics to respect locked interface

Interface is being locked when some destructive operations
are called from non-main thread.

This was causing crash with particles in T60065.
source/blender/editors/include/ED_info.h
source/blender/editors/space_info/info_stats.c
source/blender/makesrna/intern/rna_scene.c