Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-03-23 16:24:48 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-03-23 16:24:48 +0300
commit9310c92e5316f446c0b7a912dd21181e0eedde8d (patch)
treea9215d8177ae63ca160d752d691028237064df47 /source/blender/makesrna/RNA_types.h
parent62a3e867df2321fde60d513be4542cc31443459b (diff)
RNA:
* Allow pointers to be editable, did SpaceTextEditor.text as a test. * Changed PROP_NOT_EDITABLE to PROP_EDITABLE, and added RNA_def_property_clear_flag. * Removed rna_dependency.c test code.
Diffstat (limited to 'source/blender/makesrna/RNA_types.h')
-rw-r--r--source/blender/makesrna/RNA_types.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/source/blender/makesrna/RNA_types.h b/source/blender/makesrna/RNA_types.h
index 7f59164fe59..c3dcf4040ea 100644
--- a/source/blender/makesrna/RNA_types.h
+++ b/source/blender/makesrna/RNA_types.h
@@ -79,28 +79,13 @@ typedef enum PropertyFlag {
/* editable means the property is editable in the user
* interface, properties are editable by default except
* for pointers and collections. */
- PROP_NOT_EDITABLE = 1,
+ PROP_EDITABLE = 1,
/* animateable means the property can be driven by some
* other input, be it animation curves, expressions, ..
* properties are animateable by default except for pointers
* and collections */
- PROP_NOT_ANIMATEABLE = 2,
-
-#if 0
- /* for pointers and collections, means that the struct
- * depends on the data pointed to for evaluation, such
- * that a change in the data pointed to will affect the
- * evaluated result of this struct. */
- PROP_EVALUATE_DEPENDENCY = 8,
- PROP_INVERSE_EVALUATE_DEPENDENCY = 16,
-
- /* for pointers and collections, means that the struct
- * requires the data pointed to for rendering in the,
- * be it the render engine or viewport */
- PROP_RENDER_DEPENDENCY = 32,
- PROP_INVERSE_RENDER_DEPENDENCY = 64,
-#endif
+ PROP_ANIMATEABLE = 2,
/* internal flags */
PROP_BUILTIN = 128,