May 8, 2015, 17:31 (GMT) |
cleanup dynamic enum template script and adding a new one for a simple custom icon |
May 7, 2015, 18:58 (GMT) |
Make it clearer that the dictionary stores collections of previews |
May 7, 2015, 17:53 (GMT) |
Fix crash when trying to use new preview system from py in addon's registration at startup. Now call UI_init() before py stuff! |
May 7, 2015, 17:34 (GMT) |
Merge branch 'master' into ui-preview-buttons |
May 6, 2015, 20:02 (GMT) |
Preview API: be more strict with new/load Don't silently reuse existing id's, instead make dev use typical dictionary API calls if they're not sure the item already exists. Also add reload method. |
May 6, 2015, 14:40 (GMT) |
Was clearing wrong previews |
May 5, 2015, 15:08 (GMT) |
Tweak to new and load methods setdefault would still evaluate the fallback argument, now avoid calling the real new/load, when the we already have the value loaded |
May 5, 2015, 14:55 (GMT) |
Rename utility to class to be clearly a private member Also name internal data structure ImagePreview (incase we want other kinds of previews later) |
May 5, 2015, 14:32 (GMT) |
Use a resource warning |
May 5, 2015, 13:27 (GMT) |
remove redundant int |
May 5, 2015, 12:37 (GMT) |
bpy.utils.previews api tweaks - make BPyPreviewsCollection's annonymous - unique id is generated automaticly - caller store the previews in a named/meaningful location |
May 5, 2015, 11:55 (GMT) |
Change resource management, previews now match file-io closer Callers need to hold a reference to the preview collection and close when they're done |
May 5, 2015, 11:08 (GMT) |
Comments |
May 5, 2015, 10:42 (GMT) |
use easily identifiable separator for keys components |
May 5, 2015, 10:34 (GMT) |
Remove redundant del statements |
May 5, 2015, 09:28 (GMT) |
Avoid app._previews access via self.__class__._app Instead import _previews globally Also don't load bpy.utils.previews at start (now requires explicit import) |
May 5, 2015, 09:16 (GMT) |
Rename delete -> remove Follows convention for RNA collections (ID data for eg new/remove) |
May 5, 2015, 09:12 (GMT) |
Cleanup: minor edits |
May 5, 2015, 09:11 (GMT) |
Cleanup: style/redundant casts |
May 5, 2015, 09:07 (GMT) |
Use regular module for bpy.app._previews Since this is a collection of API calls, theres no need to define a custom type. |
|