diff options
author | Matt Ebb <matt@mke3.net> | 2009-11-04 01:07:15 +0300 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-11-04 01:07:15 +0300 |
commit | c8ee492e7afe877c6ba85cd9b814cce8419b62cd (patch) | |
tree | 4841b9a7e42cced869f06d9504722a0bca301c08 /source/blender/makesrna/intern/rna_boid.c | |
parent | 2db1851c261eae4b368f476b372aa25ded2951a6 (diff) |
Changed hand-generated RNA paths to quote strings used as collection indexes.
Previous method worked fine for Blender animation system, but this is more convenient for Python.
Diffstat (limited to 'source/blender/makesrna/intern/rna_boid.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_boid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_boid.c b/source/blender/makesrna/intern/rna_boid.c index 36a648c8a82..37b957a16ca 100644 --- a/source/blender/makesrna/intern/rna_boid.c +++ b/source/blender/makesrna/intern/rna_boid.c @@ -129,7 +129,7 @@ static StructRNA* rna_BoidRule_refine(struct PointerRNA *ptr) static char *rna_BoidRule_path(PointerRNA *ptr) { - return BLI_sprintfN("rules[%s]", ((BoidRule*)ptr->data)->name); // XXX not unique + return BLI_sprintfN("rules[\"%s\"]", ((BoidRule*)ptr->data)->name); // XXX not unique } static PointerRNA rna_BoidState_active_boid_rule_get(PointerRNA *ptr) |