summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--demos/3d/kinematic_char/cubelib.resbin11530 -> 11532 bytes
-rw-r--r--demos/3d/kinematic_char/level.scnbin15556 -> 15523 bytes
-rw-r--r--scene/3d/visual_instance.cpp1
3 files changed, 1 insertions, 0 deletions
diff --git a/demos/3d/kinematic_char/cubelib.res b/demos/3d/kinematic_char/cubelib.res
index 27f2b9b3bd..130b9529fe 100644
--- a/demos/3d/kinematic_char/cubelib.res
+++ b/demos/3d/kinematic_char/cubelib.res
Binary files differ
diff --git a/demos/3d/kinematic_char/level.scn b/demos/3d/kinematic_char/level.scn
index 7ccb2430c1..8be64c61c0 100644
--- a/demos/3d/kinematic_char/level.scn
+++ b/demos/3d/kinematic_char/level.scn
Binary files differ
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);