diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-03 15:30:59 +0300 |
commit | cd972535027a73ba70069051fe9038b6a8b5696a (patch) | |
tree | b50696bddbc710192b89e34fcdd1e82e6c8073b7 /source/blender/editors/armature/editarmature_retarget.c | |
parent | aca76ddb502cbf0ee7888c3356f9f35240919410 (diff) |
- added GCC warning -Wstrict-prototypes
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
Diffstat (limited to 'source/blender/editors/armature/editarmature_retarget.c')
-rw-r--r-- | source/blender/editors/armature/editarmature_retarget.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/editors/armature/editarmature_retarget.c b/source/blender/editors/armature/editarmature_retarget.c index 5ef13bcdc1b..d043c2e472d 100644 --- a/source/blender/editors/armature/editarmature_retarget.c +++ b/source/blender/editors/armature/editarmature_retarget.c @@ -304,7 +304,7 @@ void RIG_freeRigGraph(BGraph *rg) /************************************* ALLOCATORS ******************************************************/ -static RigGraph *newRigGraph() +static RigGraph *newRigGraph(void) { RigGraph *rg; int totthread; @@ -1535,8 +1535,7 @@ RigGraph *RIG_graphFromArmature(const bContext *C, Object *ob, bArmature *arm) if (obedit == ob) { - bArmature *arm = obedit->data; - rg->editbones = arm->edbo; + rg->editbones = ((bArmature *)obedit->data)->edbo; } else { @@ -2792,7 +2791,7 @@ int RIG_nbJoints(RigGraph *rg) return total; } -void BIF_freeRetarget() +void BIF_freeRetarget(void) { if (GLOBAL_RIGG) { |