compile fix from elubie
authorDaniel Genrich <daniel.genrich@gmx.net>
Mon, 17 Sep 2007 11:18:04 +0000 (11:18 +0000)
committerDaniel Genrich <daniel.genrich@gmx.net>
Mon, 17 Sep 2007 11:18:04 +0000 (11:18 +0000)
special request from mfoxdogg: place modifier where you want

source/blender/blenkernel/intern/modifier.c
source/blender/imbuf/intern/thumbs.c

index d3d41e70d575c8952b30f8863872cecd51c8ae7f..7607ce63b9de53d8cff2020f14880e68283fe103 100644 (file)
@@ -5234,7 +5234,7 @@ ModifierTypeInfo *modifierType_getInfo(ModifierType type)
                mti->type = eModifierTypeType_OnlyDeform;
                mti->initData = clothModifier_initData;
                mti->flags = eModifierTypeFlag_AcceptsCVs
-                        | eModifierTypeFlag_RequiresOriginalData;
+                                       // | eModifierTypeFlag_RequiresOriginalData;
                                        // | eModifierTypeFlag_SupportsMapping
                                        // | eModifierTypeFlag_SupportsEditmode 
                                        // | eModifierTypeFlag_EnableInEditmode;
index c2e30b091c240193f4d3e82ddf6c9045aa1b70bf..b071331e46b3e0ccb3fc9270b639a52faa98bdd8 100644 (file)
@@ -69,7 +69,7 @@ static int get_thumb_dir( char* dir , ThumbSize size)
        /* yes, applications shouldn't store data there, but so does GIMP :)*/
        SHGetSpecialFolderPath(0, dir, CSIDL_PROFILE, 0);
 #else
-       home = getenv("HOME");
+       char* home = getenv("HOME");
        if (!home) return 0;
        BLI_strncpy(dir, home, FILE_MAX);
 #endif