missing include for fluid
authorCampbell Barton <ideasman42@gmail.com>
Mon, 10 Aug 2009 14:15:05 +0000 (14:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 10 Aug 2009 14:15:05 +0000 (14:15 +0000)
intern/smoke/intern/FLUID_3D_SOLVERS.cpp
source/blender/python/intern/bpy_interface.c

index 1b7d256cd7030d3398048d9f93ee53c92009922e..9d546009a8c91a11d7120ad5fb1d2da8a0f3df94 100644 (file)
@@ -21,7 +21,7 @@
 //////////////////////////////////////////////////////////////////////
 
 #include "FLUID_3D.h"
-
+#include <cstring>
 #define SOLVER_ACCURACY 1e-06
 
 void FLUID_3D::solvePressurePre(float* field, float* b, unsigned char* skip)
index 8cd4cdd5dfc739304cdddd64fc67b8631fbfbb4a..f8b2f38961d3069994ee061b80d1c4ab0923c868 100644 (file)
@@ -808,7 +808,7 @@ float BPY_pydriver_eval (ChannelDriver *driver)
 int BPY_button_eval(bContext *C, char *expr, double *value)
 {
        PyGILState_STATE gilstate;
-       PyObject *dict, *retval, *expr_conv;
+       PyObject *dict, *retval, *expr_conv= NULL;
        int error_ret = 0;
        
        if (!value || !expr || expr[0]=='\0') return -1;