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>2010-02-24 18:35:15 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-02-24 18:35:15 +0300
commit03590eb8a928ddb8ccab95189a9ebfeb311bd140 (patch)
treeb76a597fb238eb8cb1302ff894ff0be258a4cb78 /release/scripts/modules/rna_prop_ui.py
parent6afd97b9afdf1d971b94a33e6337e267f4de628d (diff)
allow cloth sim for linked duplicates, not many people use this but we need for using hair on linked characters, if there are bugs with this we'll need to fix so enabling for now with comments that its experemental.
Diffstat (limited to 'release/scripts/modules/rna_prop_ui.py')
-rw-r--r--release/scripts/modules/rna_prop_ui.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/modules/rna_prop_ui.py b/release/scripts/modules/rna_prop_ui.py
index a25cf5ddd76..8079c461e43 100644
--- a/release/scripts/modules/rna_prop_ui.py
+++ b/release/scripts/modules/rna_prop_ui.py
@@ -179,9 +179,6 @@ class WM_OT_properties_edit(bpy.types.Operator):
except:
value_eval = value
- if type(value_eval) == str:
- value_eval = '"' + value_eval + '"'
-
# First remove
item = eval("context.%s" % path)
@@ -192,7 +189,7 @@ class WM_OT_properties_edit(bpy.types.Operator):
# Reassign
- exec_str = "item['%s'] = %s" % (prop, value_eval)
+ exec_str = "item['%s'] = %s" % (prop, repr(value_eval))
# print(exec_str)
exec(exec_str)
self._last_prop[:] = [prop]