- new standard .b.blend file which has changes:

- the plane has a material
  - material has texture
  - scene has a world
  - default set 'draw faces' and 'draw edges'

that last one for the noobies, to prevent them complaining!

- added a note in interface.c about the new api doc

- forgot to commit blender.c, for setting the G.f from the file
  (this will save faceselect and vertexpaint mode too)
This commit is contained in:
Ton Roosendaal 2003-07-22 19:49:47 +00:00
parent 43f8138974
commit 932e9e8316
3 changed files with 1102 additions and 1001 deletions

View File

@ -272,7 +272,7 @@ static void setup_app_data(BlendFileData *bfd, char *filename) {
R.displaymode= bfd->displaymode;
G.curscreen= bfd->curscreen;
G.fileflags= bfd->fileflags;
G.f= bfd->globalf;
G.scene= G.curscreen->scene;
/* few DispLists, but do text_to_curve */

File diff suppressed because it is too large Load Diff

View File

@ -30,6 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
/*
a full doc with API notes can be found in bf-blender/blender/doc/interface_API.txt
*/
#include <math.h>
#include <stdlib.h>
#include <string.h>