Blender Git Loki
Git Commits -> Revision c7dfa96
Revision c7dfa96 by Campbell Barton (master) January 17, 2010, 20:06 (GMT) |
bugfix [#20639] BF25_SVN_25888 and below - OBJ and 3DS import fails blender supports type changing for textures in a way that python doesnt. add a new general function. Example usage: tex = bpy.data.textures.new("Foo") tex.type = 'IMAGE' tex = tex.recast_type() Macro to give the number of users accounting for fake user. ID_REAL_USERS(id) Use this so you can remove a datablock if it has a fake users as well as apply transformations to it in the 3D view. Move api function bpy.data.add_texture() --> bpy.data.textures.new()/remove() |
Commit Details:
Full Hash: c7dfa96aeac0940b093efed9b818e0c0d3c9feba
SVN Revision: 26056
Parent Commit: 5575671
Lines Changed: +116, -49
12 Modified Paths:
/release/scripts/io/import_scene_3ds.py (+2, -1) (Diff)
/release/scripts/io/import_scene_obj.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_deform.h (+1, -1) (Diff)
/source/blender/editors/object/object_transform.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+24, -0) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+49, -22) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+20, -20) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+8, -0) (Diff)
/release/scripts/io/import_scene_obj.py (+2, -1) (Diff)
/source/blender/blenkernel/BKE_deform.h (+1, -1) (Diff)
/source/blender/editors/object/object_transform.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_access.c (+24, -0) (Diff)
/source/blender/makesrna/intern/rna_main_api.c (+49, -22) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+20, -20) (Diff)
/source/blender/makesrna/RNA_access.h (+1, -0) (Diff)
/source/blender/makesrna/RNA_enum_types.h (+2, -0) (Diff)
/source/blender/makesrna/RNA_types.h (+1, -0) (Diff)
/source/blender/python/intern/bpy_rna.c (+8, -0) (Diff)