96477be3b6
PyAPI: fast keyword parsing for bpy modules
...
No functional changes.
2017-10-05 10:52:18 +11:00
f6825d333b
Fix bpy library load: invalid function signature
2017-08-20 19:04:16 +10:00
1ee43c5aef
Fix T49856: Blender 2.78 crashes after loading data from a blendfile
...
Issue here was that py API code was keeping references (pointers) to the
liniked data-blocks, which can actually be duplicated and then deleted
during the 'make local' process...
Would have like to find a better way than passing optional GHash to get
the oldid->newid mapping, but could not think of a better idea.
2016-11-01 13:39:31 +01:00
a96c9def6f
PyAPI: minor optimization for dictionary creation
...
Pass size when its known.
2016-07-31 17:22:04 +10:00
34642fe532
PyAPI: minor cleanup with library linking
2016-07-15 00:06:33 +10:00
b00bc3cbc1
PyAPI: fix leak linking library data
2016-07-14 17:38:22 +10:00
f5e020a7a6
PyAPI: fix memory leaks in dictionary assignment
...
Thanks to Kévin Dietrich for spotting driver leak,
checked other uses of PyDict_SetItem and found more.
2016-07-14 17:30:52 +10:00
3e5414e490
PyAPI: API for selectively writing data-blocks
...
Useful for writing asset-libraries to a file, eg.
`bpy.data.libraries.write(filepath, datablocks, relative_remap=False, fake_user=False)`
2016-03-03 21:50:20 +11:00