summaryrefslogtreecommitdiffstats
path: root/core/object.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2019-02-21 20:49:42 -0300
committerJuan Linietsky <juan@godotengine.org>2019-02-21 20:49:42 -0300
commit8b231b96e347b677ea4189784c960bc4517b8e6a (patch)
treeb5bf271cdce01341e4b221badcdc2c67bbef24f3 /core/object.h
parent5784caae73dbb9dcb1e6640884782859c5ab94b6 (diff)
downloadredot-engine-8b231b96e347b677ea4189784c960bc4517b8e6a.tar.gz
Implement a cleaner (and better) way to save imagedata from ImageTexture, fixes #18801
Diffstat (limited to 'core/object.h')
-rw-r--r--core/object.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object.h b/core/object.h
index 9a5217e3de..e8a6178052 100644
--- a/core/object.h
+++ b/core/object.h
@@ -119,6 +119,7 @@ enum PropertyUsageFlags {
PROPERTY_USAGE_DO_NOT_SHARE_ON_DUPLICATE = 1 << 21, // If the object is duplicated also this property will be duplicated
PROPERTY_USAGE_HIGH_END_GFX = 1 << 22,
PROPERTY_USAGE_NODE_PATH_FROM_SCENE_ROOT = 1 << 23,
+ PROPERTY_USAGE_RESOURCE_NOT_PERSISTENT = 1 << 24,
PROPERTY_USAGE_DEFAULT = PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_NETWORK,
PROPERTY_USAGE_DEFAULT_INTL = PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_NETWORK | PROPERTY_USAGE_INTERNATIONALIZED,