Final merge of HEAD (bf-blender) into the orange branch.
Here are my notes on things to look out for as potential problem spots: source/blender/blenkernel/intern/displist.c: + is initfastshade(void) supposed to be empty? I had to make it empty to get the merged tree to compile. source/blender/python/api2_2x/Armature.c: + went with the version that had Armature_getLayers() source/blender/python/api2_2x/Object.c + went with the version of Object_getPose() from bf-blender. (#ifdef 0-ed the other version) source/blender/python/api2_2x/Pose.[ch] + had problems linking due to no Pose_Init() ... copied these two files straight from bf-blender. source/blender/src/drawview.c: + view3d_panel_properties() had things shifted a few things shifted a few pixels, otherwise, things were painless source/blender/src/splash.jpg.c: + went with bf-blender version (orange is dead) source/gameengine: + went with bf-blender version -- does not compile due to IMB_rect* stuff, Ton should look into this.
This commit is contained in:
@@ -3018,6 +3018,7 @@ void drawinfospace(ScrArea *sa, void *spacedata)
|
||||
} else if(U.userpref == 5) { /* file paths */
|
||||
|
||||
/* yafray: (temporary) path button for yafray xml export, now with fileselect */
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "YFexport: ",
|
||||
(xpos+edgsp), y2+buth+rspace, lpref-smfileselbut, buth,
|
||||
U.yfexportdir, 1.0, 63.0, 0, 0,
|
||||
@@ -3025,7 +3026,9 @@ void drawinfospace(ScrArea *sa, void *spacedata)
|
||||
uiDefIconBut(block, BUT, B_YAFRAYDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+lpref-smfileselbut), y2+buth+rspace, smfileselbut, buth,
|
||||
0, 0, 0, 0, 0, "Select the default yafray export directory");
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Fonts: ",
|
||||
(xpos+edgsp),y2,(lpref-smfileselbut),buth,
|
||||
U.fontdir, 1.0, 63.0, 0, 0,
|
||||
@@ -3033,37 +3036,47 @@ void drawinfospace(ScrArea *sa, void *spacedata)
|
||||
uiDefIconBut(block, BUT, B_FONTDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+lpref-smfileselbut),y2,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default font directory");
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Textures: ",
|
||||
(xpos+edgsp+lpref+midsp),y2,(lpref-smfileselbut),buth,
|
||||
U.textudir, 1.0, 63.0, 0, 0, "The default directory to search for textures");
|
||||
uiDefIconBut(block, BUT, B_TEXTUDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(2*lpref)+midsp-smfileselbut),y2,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default texture location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Tex Plugins: ",
|
||||
(xpos+edgsp+(2*lpref)+(2*midsp)),y2,(lpref-smfileselbut),buth,
|
||||
U.plugtexdir, 1.0, 63.0, 0, 0, "The default directory to search for texture plugins");
|
||||
uiDefIconBut(block, BUT, B_PLUGTEXDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(3*lpref)+(2*midsp)-smfileselbut),y2,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default texture plugin location");
|
||||
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Seq Plugins: ",
|
||||
(xpos+edgsp+(3*lpref)+(3*midsp)),y2,(lpref-smfileselbut),buth,
|
||||
U.plugseqdir, 1.0, 63.0, 0, 0, "The default directory to search for sequence plugins");
|
||||
uiDefIconBut(block, BUT, B_PLUGSEQDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(4*lpref)+(3*midsp)-smfileselbut),y2,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default sequence plugin location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Render: ",
|
||||
(xpos+edgsp),y1,(lpref-smfileselbut),buth,
|
||||
U.renderdir, 1.0, 63.0, 0, 0, "The default directory for rendering output");
|
||||
uiDefIconBut(block, BUT, B_RENDERDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+lpref-smfileselbut),y1,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default render output location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Python: ",
|
||||
(xpos+edgsp+lpref+midsp),y1,(lpref-2*smfileselbut),buth,
|
||||
U.pythondir, 1.0, 63.0, 0, 0, "The default directory to search for Python scripts");
|
||||
@@ -3073,21 +3086,26 @@ void drawinfospace(ScrArea *sa, void *spacedata)
|
||||
uiDefIconBut(block, BUT, B_PYTHONDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(2*lpref)+midsp-smfileselbut),y1,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default Python script location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Sounds: ",
|
||||
(xpos+edgsp+(2*lpref)+(2*midsp)),y1,(lpref-smfileselbut),buth,
|
||||
U.sounddir, 1.0, 63.0, 0, 0, "The default directory to search for sounds");
|
||||
uiDefIconBut(block, BUT, B_SOUNDDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(3*lpref)+(2*midsp)-smfileselbut),y1,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default sound location");
|
||||
0, 0, 0, 0, 0, "Selet the default sound location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefBut(block, TEX, 0, "Temp: ",
|
||||
(xpos+edgsp+(3*lpref)+(3*midsp)),y1,(lpref-smfileselbut),buth,
|
||||
U.tempdir, 1.0, 63.0, 0, 0, "The directory for storing temporary save files");
|
||||
uiDefIconBut(block, BUT, B_TEMPDIRFILESEL, ICON_FILESEL,
|
||||
(xpos+edgsp+(4*lpref)+(3*midsp)-smfileselbut),y1,smfileselbut,buth,
|
||||
0, 0, 0, 0, 0, "Select the default temporary save file location");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user