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>2012-09-18 08:35:30 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-18 08:35:30 +0400
commitd3737de8c284b7cb8e6bff4ee147561449fb2151 (patch)
tree9379d0f4965cb4d274ab542451b193db7f3ee5c0 /source/blender/makesrna/intern/rna_property.c
parenta4ff2b914049f3c7af6b06034f7a569b19ad8e7a (diff)
fix for a strange linking error where set_property() in source/blender/blenkernel/intern/property.c would get mixed up with an X11 function of the same name. it crashed blender loading on my system.
Give functions in property.c more unique names.
Diffstat (limited to 'source/blender/makesrna/intern/rna_property.c')
-rw-r--r--source/blender/makesrna/intern/rna_property.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_property.c b/source/blender/makesrna/intern/rna_property.c
index bf9f924489b..fc3697633a4 100644
--- a/source/blender/makesrna/intern/rna_property.c
+++ b/source/blender/makesrna/intern/rna_property.c
@@ -89,7 +89,7 @@ static void rna_GameProperty_type_set(PointerRNA *ptr, int value)
if (prop->type != value) {
prop->type = value;
- init_property(prop);
+ BKE_bproperty_init(prop);
}
}
@@ -97,7 +97,7 @@ static void rna_GameProperty_name_set(PointerRNA *ptr, const char *value)
{
bProperty *prop = (bProperty *)(ptr->data);
BLI_strncpy_utf8(prop->name, value, sizeof(prop->name));
- unique_property(NULL, prop, 1);
+ BKE_bproperty_unique(NULL, prop, 1);
}