[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50605] branches/ge_harmony/source/ gameengine/Ketsji/KX_PythonShaders.cpp: a missing break would make int custom uniforms to not work (self->m_data = = NULL)

Dalai Felinto dfelinto at gmail.com
Fri Sep 14 21:15:55 CEST 2012


Revision: 50605
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50605
Author:   dfelinto
Date:     2012-09-14 19:15:55 +0000 (Fri, 14 Sep 2012)
Log Message:
-----------
a missing break would make int custom uniforms to not work (self->m_data == NULL)

Modified Paths:
--------------
    branches/ge_harmony/source/gameengine/Ketsji/KX_PythonShaders.cpp

Modified: branches/ge_harmony/source/gameengine/Ketsji/KX_PythonShaders.cpp
===================================================================
--- branches/ge_harmony/source/gameengine/Ketsji/KX_PythonShaders.cpp	2012-09-14 19:09:25 UTC (rev 50604)
+++ branches/ge_harmony/source/gameengine/Ketsji/KX_PythonShaders.cpp	2012-09-14 19:15:55 UTC (rev 50605)
@@ -233,6 +233,7 @@
 	case MA_UNF_IVEC3:
 	case MA_UNF_IVEC4:
 		m_cu->data = calloc(m_size, sizeof(int));
+		break;
 	default:
 		m_cu->data = NULL;
 	}




More information about the Bf-blender-cvs mailing list