39cb1432d8
bugfix [ #23285 ] Exporters not available whel using special characters in path name
...
- ID properties now suopport non utf-8 strings for their values but not their keys.
- moved utility functions into py_capi_utils.c from bpy_utils and bpy_rna.
- import/export paths have to be printed with repr() or %r, so non utf-8 chars are escaped.
2010-09-01 14:13:48 +00:00
42ac4a3e7d
Fix syntax for ID keyword.
2010-03-21 01:14:04 +00:00
391cc2d004
merge own commits into render branch into trunk since 27560
...
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-20 16:41:01 +00:00
431db9d478
remove unused includes
2010-03-14 16:06:43 +00:00
aec7174a42
fix for OBJ exporting Texface images
2010-03-02 14:57:28 +00:00
46d50b0d1f
bugfix for displaying ID properties
...
- fixed memleak from 2.4x with setting arrays from python
- basic support for IDPropertyArrays
context.object["foo"] = [{"smap": 10}, {"foo": 2}]
2010-03-02 11:35:28 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
15ef07d684
More tooltip editing
2010-02-11 02:03:18 +00:00
7fe3ab7e8e
bugfix for reading invalid id prop lengths from python.
2010-02-01 18:38:33 +00:00
ac8ff25b2d
idprop.get(key, default=None)
...
matching pythons dict.get()
removed checks for a failed PyObject_New(), if python cant make a new object your probably going to crash anyway.
2009-11-19 17:04:28 +00:00
3b4c9d9699
correcting ID property list was incorrect on porting
2009-11-19 11:56:13 +00:00
d3794d9f94
fix for memory leak, use Key Errors for pyrna getitem access & idprops
2009-11-18 13:02:09 +00:00
f7682e2e0f
- in pose mode, pose bone properties are edited rather then armature bone
...
- new id property array method convert_to_pyobject()
- editing an array in the UI broke
- fixed for own error when updating ID prop api
2009-11-17 12:54:29 +00:00
3087da0b25
my chnges broke 'del idprop["key"]'
...
made it possible to remove properties from rna types.
eg.
del group["someprop"]
2009-11-16 22:21:39 +00:00
6ed0686fcc
bpy/rna methods to find properties (works nice with autocomp!)
...
keys(), values() & items()
ed...
print(bpy.context.active_object.keys())
Possible name conflict here, need to keep an eye on it.
2009-11-16 20:16:45 +00:00
66dfaabb9d
update idproperty python api for python 3.1
...
- removed 'group.has_key("key")', use... '"key" in group' instead
- removed verbose float and int conversions that are not needed
- fixed memory leak
2009-11-16 18:56:58 +00:00
cf1700bdd5
python api for ID property access by Joseph Eager, copied from blender 2.4x.
2009-11-16 18:53:11 +00:00