diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 14:12:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-09-21 14:12:33 +0400 |
commit | a9988317c9d9cf312ec5de7f9c6bb3fb1e161847 (patch) | |
tree | aeba0a80b1136614d84214515fc03a1377ae92a7 /source/blender/blenkernel/BKE_property.h | |
parent | e11cd5a962803747ce3c0bddaef73a47d8938b63 (diff) |
Added select grouped property (objects with shared property names will be selected)
(updated select group toolbox and header menu)
Added 2 copy property options - Replace All and Merge All, since there was no way to remove all properties, or set all objects game properties to be the same as the active objects.
Added set_ob_property(ob, prop) to property api.
bugfix in python api, copyAllPropertiesTo, it didnt check for duplicates or that it wasnt copying from/to the same object.
Diffstat (limited to 'source/blender/blenkernel/BKE_property.h')
-rw-r--r-- | source/blender/blenkernel/BKE_property.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_property.h b/source/blender/blenkernel/BKE_property.h index f1587790c4a..6af1deda727 100644 --- a/source/blender/blenkernel/BKE_property.h +++ b/source/blender/blenkernel/BKE_property.h @@ -41,7 +41,8 @@ struct bProperty *copy_property(struct bProperty *prop); void copy_properties(struct ListBase *lbn, struct ListBase *lbo); void init_property(struct bProperty *prop); struct bProperty *new_property(int type); -struct bProperty *get_property(struct Object *ob, char *name); +struct bProperty *get_ob_property(struct Object *ob, char *name); +void set_ob_property(struct Object *ob, struct bProperty *propc); int compare_property(struct bProperty *prop, char *str); void set_property(struct bProperty *prop, char *str); void add_property(struct bProperty *prop, char *str); |