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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-01 04:34:00 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-01 08:22:28 +0400
commit617557b08ea94e2b65a1697ddf0b79651204d92b (patch)
tree50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/makesrna/intern/rna_access.c
parent2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff)
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/makesrna/intern/rna_access.c')
-rw-r--r--source/blender/makesrna/intern/rna_access.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c
index 43de4b374b4..ae8280e9ec4 100644
--- a/source/blender/makesrna/intern/rna_access.c
+++ b/source/blender/makesrna/intern/rna_access.c
@@ -4414,7 +4414,7 @@ static char *rna_path_from_ID_to_idpgroup(PointerRNA *ptr)
* of an armature or object */
RNA_id_pointer_create(ptr->id.data, &id_ptr);
- haystack = RNA_struct_idprops(&id_ptr, FALSE);
+ haystack = RNA_struct_idprops(&id_ptr, false);
if (haystack) { /* can fail when called on bones */
needle = ptr->data;
return rna_idp_path(&id_ptr, haystack, needle, NULL);
@@ -4568,7 +4568,7 @@ char *RNA_path_full_property_py(PointerRNA *ptr, PropertyRNA *prop, int index)
data_path = RNA_path_from_ID_to_property(ptr, prop);
- if ((index == -1) || (RNA_property_array_check(prop) == FALSE)) {
+ if ((index == -1) || (RNA_property_array_check(prop) == false)) {
ret = BLI_sprintfN("%s.%s",
id_path, data_path);
}
@@ -4610,7 +4610,7 @@ char *RNA_path_struct_property_py(PointerRNA *ptr, PropertyRNA *prop, int index)
}
}
- if ((index == -1) || (RNA_property_array_check(prop) == FALSE)) {
+ if ((index == -1) || (RNA_property_array_check(prop) == false)) {
ret = BLI_sprintfN("%s",
data_path);
}
@@ -4634,7 +4634,7 @@ char *RNA_path_property_py(PointerRNA *UNUSED(ptr), PropertyRNA *prop, int index
{
char *ret;
- if ((index == -1) || (RNA_property_array_check(prop) == FALSE)) {
+ if ((index == -1) || (RNA_property_array_check(prop) == false)) {
ret = BLI_sprintfN("%s",
RNA_property_identifier(prop));
}