diff options
author | Ken Hughes <khughes@pacific.edu> | 2006-10-13 04:27:49 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2006-10-13 04:27:49 +0400 |
commit | 42ac396734ba167b728da4b6d4f892a578ad99c4 (patch) | |
tree | e8bd789156026018635f5fa67ff347e503f55679 /source | |
parent | b62232b5be202a8701a86d0537a793552b12dd73 (diff) |
Move variable declaration to top of function.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editgroup.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/editgroup.c b/source/blender/src/editgroup.c index bc1b26739fd..d8cdc2bc982 100644 --- a/source/blender/src/editgroup.c +++ b/source/blender/src/editgroup.c @@ -81,12 +81,14 @@ void add_selected_to_act_ob_groups(void) { Object *ob= OBACT, *obt; Base *base; + Group *group; if (!ob) return; /* linking to same group requires its own loop so we can avoid looking up the active objects groups each time */ - Group *group= G.main->group.first; + + group= G.main->group.first; while(group) { if(object_in_group(ob, group)) { /* Assign groups to selected objects */ |