== MSVC 7.1 projectfiles ==
- added missing files to projectfiles - cleaned up thumbnail creation to avoid dependency on BKE_
This commit is contained in:
parent
2daf4c978c
commit
e06edeb801
|
@ -422,6 +422,12 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\intern\modifier.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\intern\multires-firstlevel.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\intern\multires.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\intern\nla.c">
|
||||
</File>
|
||||
|
@ -615,6 +621,9 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\BKE_modifier.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\BKE_multires.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenkernel\BKE_nla.h">
|
||||
</File>
|
||||
|
|
|
@ -358,6 +358,9 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\intern\boxpack2d.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\intern\bpath.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\intern\dynlib.c">
|
||||
</File>
|
||||
|
@ -428,6 +431,9 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\BLI_boxpack2d.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\BLI_bpath.h">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\blenlib\intern\BLI_callbacks.h">
|
||||
</File>
|
||||
|
|
|
@ -439,9 +439,6 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\src\meshtools.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\src\multires-firstlevel.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\src\multires.c">
|
||||
</File>
|
||||
|
@ -463,6 +460,9 @@
|
|||
<File
|
||||
RelativePath="..\..\..\source\blender\blenpluginapi\intern\pluginapi.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\src\poselib.c">
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\..\source\blender\src\poseobject.c">
|
||||
</File>
|
||||
|
|
|
@ -27,8 +27,9 @@
|
|||
* ***** END GPL LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_utildefines.h"
|
||||
/* also defined in BKE_utildefines, repeated here to avoid dependency */
|
||||
#define FILE_MAX 240
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
@ -76,18 +77,17 @@ static int get_thumb_dir( char* dir , ThumbSize size)
|
|||
#endif
|
||||
switch(size) {
|
||||
case THB_NORMAL:
|
||||
strcat(dir, "/.thumbnails/normal");
|
||||
strcat(dir, "/.thumbnails/normal/");
|
||||
break;
|
||||
case THB_LARGE:
|
||||
strcat(dir, "/.thumbnails/large");
|
||||
strcat(dir, "/.thumbnails/large/");
|
||||
break;
|
||||
case THB_FAIL:
|
||||
strcat(dir, "/.thumbnails/fail/blender");
|
||||
strcat(dir, "/.thumbnails/fail/blender/");
|
||||
break;
|
||||
default:
|
||||
return 0; /* unknown size */
|
||||
}
|
||||
BLI_cleanup_dir(G.sce, dir);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue