Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Thuerey <nils@thuerey.de>2005-11-23 18:18:45 +0300
committerNils Thuerey <nils@thuerey.de>2005-11-23 18:18:45 +0300
commit65a824879c86eeb265c21704ab773589c66aafd6 (patch)
treeff7a27fd325384516afc35b0c024db9c8ca477f6 /source/blender/src/fluidsim.c
parent936ed99cc624dc83dfa68c526f2ffaed1c32e65f (diff)
- temporary fix for MSVC (accessing a var from the elbeem lib
caused trouble)
Diffstat (limited to 'source/blender/src/fluidsim.c')
-rw-r--r--source/blender/src/fluidsim.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/fluidsim.c b/source/blender/src/fluidsim.c
index d8e47af970c..15dbb2c899a 100644
--- a/source/blender/src/fluidsim.c
+++ b/source/blender/src/fluidsim.c
@@ -772,8 +772,13 @@ void fluidsimBake(struct Object *ob)
// check if some error occurred
if(globalBakeState==-2) {
strcat(fsmessage,"Failed to initialize [Msg: ");
+#ifndef WIN32
+ // msvc seems to have problem accessing the gElbeemErrorString var
+ strcat(fsmessage,"[Msg: ");
strcat(fsmessage,gElbeemErrorString);
- strcat(fsmessage,"]|OK%x0");
+ strcat(fsmessage,"]");
+#endif // WIN32
+ strcat(fsmessage,"|OK%x0");
pupmenu(fsmessage);
} // init error
}