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

« back to all changes in this revision

Viewing changes to source/blender/src/verse_object.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: verse_object.c,v 1.9 2007/01/12 08:51:16 jiri Exp $
 
2
 * $Id: verse_object.c,v 1.10 2007/05/03 15:10:44 bebraw Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
270
270
        else if(vnode->type==V_NT_BITMAP) {
271
271
                struct VBitmapData *vbitmap;
272
272
                struct VBitmapLayer *vblayer;
 
273
                float color[] = {0, 0, 0, 1};
273
274
 
274
275
                vbitmap = (VBitmapData*)vnode->data;
275
276
 
293
294
                                vbitmap->width,
294
295
                                vbitmap->height,
295
296
                                vnode->name,
296
 
                                0);
 
297
                                0,
 
298
                                color);
297
299
                ((Image*)vbitmap->image)->vnode = (void*)vnode;
298
300
                sync_blender_image_with_verse_bitmap_node(vnode);
299
301