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:
authorMatt Ebb <matt@mke3.net>2009-11-04 01:07:15 +0300
committerMatt Ebb <matt@mke3.net>2009-11-04 01:07:15 +0300
commitc8ee492e7afe877c6ba85cd9b814cce8419b62cd (patch)
tree4841b9a7e42cced869f06d9504722a0bca301c08 /source/blender/makesrna/intern/rna_fluidsim.c
parent2db1851c261eae4b368f476b372aa25ded2951a6 (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_fluidsim.c')
-rw-r--r--source/blender/makesrna/intern/rna_fluidsim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_fluidsim.c b/source/blender/makesrna/intern/rna_fluidsim.c
index ae52c811c92..2517ee5c8ef 100644
--- a/source/blender/makesrna/intern/rna_fluidsim.c
+++ b/source/blender/makesrna/intern/rna_fluidsim.c
@@ -157,7 +157,7 @@ static char *rna_FluidSettings_path(PointerRNA *ptr)
FluidsimSettings *fss = (FluidsimSettings*)ptr->data;
ModifierData *md= (ModifierData *)fss->fmd;
- return BLI_sprintfN("modifiers[%s].settings", md->name);
+ return BLI_sprintfN("modifiers[\"%s\"].settings", md->name);
}
#else