Blender Git Loki

Git Commits -> Revision d0c54d3

Revision d0c54d3 by Campbell Barton (master)
September 3, 2010, 07:25 (GMT)
use set as a suffix (matches operators)
- set_frame() --> frame_set()
- set_context_pointer() --> context_pointer_set()

material adding works for curves and metaballs, new function to remove materials.

materials.link() didnt well fit how this is used elsewhere
- order matters
- it can be linked more than once.
- remove(material), isnt that useful since you need to manage indicies.

... use list style functions instead. materials.append(mat) / materials.pop(index)

Commit Details:

Full Hash: d0c54d3d0e77f0ed6b73ed5c3ac100ebd5e58660
SVN Revision: 31737
Parent Commit: 870469e
Lines Changed: +148, -71

24 Modified Paths:

/release/scripts/op/io_anim_bvh/import_bvh.py (+1, -1) (Diff)
/release/scripts/op/io_scene_3ds/import_3ds.py (+1, -1) (Diff)
/release/scripts/op/io_scene_fbx/export_fbx.py (+4, -5) (Diff)
/release/scripts/op/io_scene_obj/import_obj.py (+1, -1) (Diff)
/release/scripts/op/io_shape_mdd/export_mdd.py (+3, -3) (Diff)
/release/scripts/op/nla.py (+1, -1) (Diff)
/release/scripts/ui/properties_object.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_common.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_field.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_fluid.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_smoke.py (+1, -1) (Diff)
/release/scripts/ui/properties_physics_softbody.py (+1, -1) (Diff)
/release/scripts/ui/space_userpref_keymap.py (+4, -4) (Diff)
/source/blender/blenkernel/BKE_material.h (+7, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+84, -0) (Diff)
/source/blender/editors/mesh/mesh_data.c (+0, -21) (Diff)
/source/blender/makesdna/intern/makesdna.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+27, -0) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+1, -24) (Diff)
/source/blender/makesrna/intern/rna_meta.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021