diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-01 11:26:23 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-01 11:26:23 -0300 |
commit | c08597aa6497a7cb14f494a76a1b8a172dc2d87b (patch) | |
tree | 1f96f93b1afc46212007380d1f792a323e350abe /scene/3d | |
parent | 4804462ee06c1b3e2d1b50b857ce8693d3c0936d (diff) |
-fix a bug in extra cull margin, closes #1760
Diffstat (limited to 'scene/3d')
-rw-r--r-- | scene/3d/visual_instance.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/3d/visual_instance.cpp b/scene/3d/visual_instance.cpp index 79033bf5c2..41e8b6bf54 100644 --- a/scene/3d/visual_instance.cpp +++ b/scene/3d/visual_instance.cpp @@ -383,6 +383,7 @@ GeometryInstance::GeometryInstance() { flags[FLAG_RECEIVE_SHADOWS]=true; baked_light_instance=NULL; baked_light_texture_id=0; + extra_cull_margin=0; VS::get_singleton()->instance_geometry_set_baked_light_texture_index(get_instance(),0); |