summaryrefslogtreecommitdiff
path: root/scene/3d
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-07-22 10:39:46 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-07-22 10:39:46 -0300
commit3aeafcae04722dd6d6ff52632dec9f31239875e4 (patch)
tree63e54dfaddaf5a04b27c406174731657f7958d10 /scene/3d
parente4cd01ac8cc885ee5429a309a6db458eed22a85d (diff)
Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
Diffstat (limited to 'scene/3d')
-rw-r--r--scene/3d/immediate_geometry.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/3d/immediate_geometry.h b/scene/3d/immediate_geometry.h
index 1fd00cb94e..c1cc4f87d5 100644
--- a/scene/3d/immediate_geometry.h
+++ b/scene/3d/immediate_geometry.h
@@ -38,6 +38,8 @@ class ImmediateGeometry : public GeometryInstance {
RID im;
+ //a list of texures drawn need to be kept, to avoid references
+ // in VisualServer from becoming invalid if the texture is no longer used
List<Ref<Texture> > cached_textures;
bool empty;
AABB aabb;