diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-10-22 10:28:39 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-10-22 10:28:39 +0400 |
commit | cfd9d390fcbe92b257d9784f6d12e88e5a66adc9 (patch) | |
tree | e0fbbea03f25b1f5e832280ea9c8fb0c92623ebd /source/blender/src/outliner.c | |
parent | 2cc41ad890326679b47c9931708d3afc3dae300f (diff) |
Several fixes:
* DNA_action_types.h - fixes for typos that broke compiling (own error)
* transform.c - fix for implicit definition of a function (missing header)
* outliner.c - commented out a few unused vars (as a result of constraints refactor)
* editsima.c - fixed uninitialised var warning
* drawview.c - bugfix #7598 load without ui crashes if there is no camera. Patch provided by Daniel Genrich (genscher)
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r-- | source/blender/src/outliner.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 0ed50c75ad4..aa5fd0d409b 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -591,11 +591,11 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i pchan->prev= (bPoseChannel *)ten; if(pchan->constraints.first) { - Object *target; + //Object *target; bConstraint *con; TreeElement *ten1; TreeElement *tenla1= outliner_add_element(soops, &ten->subtree, ob, ten, TSE_CONSTRAINT_BASE, 0); - char *str; + //char *str; tenla1->name= "Constraints"; for(con= pchan->constraints.first; con; con= con->next, const_index++) { @@ -644,12 +644,12 @@ static TreeElement *outliner_add_element(SpaceOops *soops, ListBase *lb, void *i outliner_add_element(soops, &te->subtree, ob->mat[a], te, 0, a); if(ob->constraints.first) { - Object *target; + //Object *target; bConstraint *con; TreeElement *ten; TreeElement *tenla= outliner_add_element(soops, &te->subtree, ob, te, TSE_CONSTRAINT_BASE, 0); int a= 0; - char *str; + //char *str; tenla->name= "Constraints"; for(con= ob->constraints.first; con; con= con->next, a++) { |