changes to get benoits logic updates building on scons with gcc
[blender.git] / source / gameengine / Converter / KX_ConvertActuators.cpp
index 76b8540118a3da2c3c7ca619c4c8805266aa2772..5d3db25b9ed181572f4078ad867da260dc7632b9 100644 (file)
@@ -1105,7 +1105,8 @@ void BL_ConvertActuators(char* maggiename,
                                buf = txt_to_buf(_2dfilter->text);
                                if (buf)
                                {
-                                       tmp->SetShaderText(STR_String(buf));
+                                       STR_String buf_str= buf;
+                                       tmp->SetShaderText(buf_str);
                                        MEM_freeN(buf);
                                }
                        }