Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-31 14:57:43 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2011-05-31 14:57:43 +0400
commit20746f6bb05dbcfbc3d425cbf3cd6bf163dbc76e (patch)
tree5af4bf635e386a591c87cbe8c6fa579690ea918f /intern/cycles/blender/blender_sync.h
parentd404c31e8d002a00229bdd91769ca30c6a0e3e4d (diff)
Cycles: fix instanced mesh sync being a bit too slow.
Diffstat (limited to 'intern/cycles/blender/blender_sync.h')
-rw-r--r--intern/cycles/blender/blender_sync.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/blender/blender_sync.h b/intern/cycles/blender/blender_sync.h
index 732a1b30260..16ce1998a24 100644
--- a/intern/cycles/blender/blender_sync.h
+++ b/intern/cycles/blender/blender_sync.h
@@ -92,6 +92,7 @@ private:
id_map<ObjectKey, Object> object_map;
id_map<void*, Mesh> mesh_map;
id_map<ObjectKey, Light> light_map;
+ set<Mesh*> mesh_synced;
void *world_map;
bool world_recalc;