~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to source/blender/blenkernel/intern/group.c

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2007-05-17 11:47:59 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517114759-yp4ybrnhp2u7pk66
Tags: 2.44-1
* New upstream release.
* Drop debian/patches/01_64bits_stupidity, not needed anymore: as of this
  version blender is 64 bits safe again. Adjust README.Debian accordingly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * $Id: group.c,v 1.7 2006/11/14 17:16:15 ton Exp $
 
2
 * $Id: group.c,v 1.9 2007/03/29 10:09:44 ton Exp $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
105
105
        group->id.us= 0;
106
106
}
107
107
 
108
 
Group *add_group()
 
108
Group *add_group(char *name)
109
109
{
110
110
        Group *group;
111
111
        
112
 
        group = alloc_libblock(&G.main->group, ID_GR, "Group");
 
112
        group = alloc_libblock(&G.main->group, ID_GR, name);
113
113
        group->layer= (1<<20)-1;
114
114
        return group;
115
115
}
231
231
 
232
232
/* puts all group members in local timing system, after this call
233
233
you can draw everything, leaves tags in objects to signal it needs further updating */
 
234
 
 
235
/* note: does not work for derivedmesh and render... it recreates all again in convertblender.c */
234
236
void group_handle_recalc_and_update(Object *parent, Group *group)
235
237
{
236
238
        GroupObject *go;