- move more active properties into their collections:
authorCampbell Barton <ideasman42@gmail.com>
Mon, 23 Aug 2010 22:16:45 +0000 (22:16 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 23 Aug 2010 22:16:45 +0000 (22:16 +0000)
commitf6c323aa42e94c4750f52940b47a0d57b503c1b9
tree486b03bf59d3e022443c8e290f354265d0126578
parent1be4eda552aa97aa5f5fe43fd34196c57425a7c2
- move more active properties into their collections:
  scene.active_keying_set --> scene.keying_sets.active
  ...same for active_uv_texture. active_vertex_color, active_keyconfig,

- move mesh.add_uv_layer() and mesh.add_vertex_color() into their collections
  also have them return the newly created layer and dont set the layer active.

  uvtex = mesh.uv_layers.new(name)
  vcol = mesh.vertex_colors.new(name)
35 files changed:
release/scripts/io/export_3ds.py
release/scripts/io/export_fbx.py
release/scripts/io/export_obj.py
release/scripts/io/export_ply.py
release/scripts/io/export_x3d.py
release/scripts/io/import_scene_3ds.py
release/scripts/io/import_scene_obj.py
release/scripts/op/object.py
release/scripts/op/presets.py
release/scripts/op/uv.py
release/scripts/op/uvcalc_follow_active.py
release/scripts/op/uvcalc_smart_project.py
release/scripts/presets/interaction/maya.py
release/scripts/templates/operator_uv.py
release/scripts/ui/properties_data_armature.py
release/scripts/ui/properties_data_mesh.py
release/scripts/ui/properties_scene.py
release/scripts/ui/space_image.py
release/scripts/ui/space_outliner.py
release/scripts/ui/space_time.py
release/scripts/ui/space_userpref_keymap.py
source/blender/blenkernel/BKE_customdata.h
source/blender/blenkernel/intern/customdata.c
source/blender/editors/include/ED_mesh.h
source/blender/editors/mesh/editmesh_lib.c
source/blender/editors/mesh/mesh_data.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/uvedit/uvedit_ops.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c
source/blender/makesrna/intern/rna_animation.c
source/blender/makesrna/intern/rna_mesh.c
source/blender/makesrna/intern/rna_mesh_api.c
source/blender/makesrna/intern/rna_pose.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_wm.c