blender/source
Sergey Sharybin 415b5a4369 Fix T46646: Point Cloud Density crashes on real time rendering
The issue was caused by possible use of object->derivedFinal from the render
thread, The patch tries to eliminate (or at least minimize, huh) amount of
access to the derivedFinal of a source object. It's still possible that in
the case of particle source derived mesh will be still unsafely used, but
with the patch applied we can easily change runtime part of the code and
cache derived mesh on the preparation stage.

Some ideas for the future:

- Check whether cache() was called on the point density node when calling
  calc().

- Cache derivedMesh in the runtime part of point density node to avoid
  possible remained thread conflicts.

- NULL the runtime part of the node on .blend load

Reviewers: campbellbarton, plasmasolutions

Reviewed By: plasmasolutions

Differential Revision: https://developer.blender.org/D1614
2015-11-25 17:43:44 +05:00
..
blender Fix T46646: Point Cloud Density crashes on real time rendering 2015-11-25 17:43:44 +05:00
blenderplayer Cleanup: editor api naming 2015-11-18 12:22:00 +11:00
creator Fix switching scenes w/ background render 2015-11-20 09:35:37 +11:00
gameengine BGE: Save screenshots in a different thread 2015-11-24 09:15:15 +01:00
icons
CMakeLists.txt
SConscript