Blender Git Commit Log

Git Commits -> Revision 28a84a2

Revision 28a84a2 by Joshua Leung (master)
February 27, 2013, 23:34 (GMT)
Code Maintenance - Splitting up Armature/Pose Editing Files

This commit splits editarmature.c and poseobject.c into several files, such that
certain types of functionality are (mostly) self-contained within particular
files (instead of being mixed in with other functionality in a large file).

In particular, this was done so that:
1) Armature EditMode tools are now in the armature_*.c files only, and Pose Mode
tools in pose_*.c files only.
- In one or two cases, this hasn't been possible as the two modes rely on
much of the same shared infrastructure.
2) The "clear loc/rot/scale" operators and pose show/hide are no longer housed
in editarmature.c
3) Selection operators, Transform operators, structural (add/delete) operators,
and supporting utilities for the modes (enter/exit/roll-calculations) are not
all interleaved in an ad-hoc manner

Notes:
* I've tried to ensure that the history of the new files has been maintained by
doing
svn copy {editarmature.c/poseobject.c} {armature_*.c/pose_*.c}
Unfortunately, this means that the diffs are a bit messy.
* There should be no functional/logic changes here. Just code moving around and
cosmetic comment tweaks where needed.
* #includes have largely been untouched for now, but could be cleaned up later
* CMake changes untested, but should work in theory.

Commit Details:

Full Hash: 28a84a2c3a204bfab21541df0d6a78d718248f42
SVN Revision: 54913
Parent Commit: 07cd75d
Lines Changed: +9098, -8570

11 Added Paths:

/source/blender/editors/armature/armature_add.c (+880, -0) (View)
/source/blender/editors/armature/armature_edit.c (+1326, -0) (View)
/source/blender/editors/armature/armature_naming.c (+395, -0) (View)
/source/blender/editors/armature/armature_relations.c (+800, -0) (View)
/source/blender/editors/armature/armature_select.c (+951, -0) (View)
/source/blender/editors/armature/armature_skinning.c (+480, -0) (View)
/source/blender/editors/armature/armature_utils.c (+707, -0) (View)
/source/blender/editors/armature/pose_edit.c (+1198, -0) (View)
/source/blender/editors/armature/pose_group.c (+549, -0) (View)
/source/blender/editors/armature/pose_select.c (+876, -0) (View)
/source/blender/editors/armature/pose_transform.c (+899, -0) (View)

2 Deleted Paths:

/source/blender/editors/armature/editarmature.c (+0, -6199)
/source/blender/editors/armature/poseobject.c (+0, -2364)

2 Modified Paths:

/source/blender/editors/armature/armature_intern.h (+27, -5) (Diff)
/source/blender/editors/armature/CMakeLists.txt (+10, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021