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 | |
parent | 4804462ee06c1b3e2d1b50b857ce8693d3c0936d (diff) |
-fix a bug in extra cull margin, closes #1760
-rw-r--r-- | demos/3d/kinematic_char/cubelib.res | bin | 11530 -> 11532 bytes | |||
-rw-r--r-- | demos/3d/kinematic_char/level.scn | bin | 15556 -> 15523 bytes | |||
-rw-r--r-- | scene/3d/visual_instance.cpp | 1 |
3 files changed, 1 insertions, 0 deletions
diff --git a/demos/3d/kinematic_char/cubelib.res b/demos/3d/kinematic_char/cubelib.res Binary files differindex 27f2b9b3bd..130b9529fe 100644 --- a/demos/3d/kinematic_char/cubelib.res +++ b/demos/3d/kinematic_char/cubelib.res diff --git a/demos/3d/kinematic_char/level.scn b/demos/3d/kinematic_char/level.scn Binary files differindex 7ccb2430c1..8be64c61c0 100644 --- a/demos/3d/kinematic_char/level.scn +++ b/demos/3d/kinematic_char/level.scn 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); |