[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50640] trunk/blender/intern/cycles/render /osl.cpp: Fix for own commit: Forgot to add function stub implementations in case OSL is disabled.

Lukas Toenne lukas.toenne at googlemail.com
Sat Sep 15 19:57:52 CEST 2012


Revision: 50640
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50640
Author:   lukastoenne
Date:     2012-09-15 17:57:51 +0000 (Sat, 15 Sep 2012)
Log Message:
-----------
Fix for own commit: Forgot to add function stub implementations in case OSL is disabled.

Modified Paths:
--------------
    trunk/blender/intern/cycles/render/osl.cpp

Modified: trunk/blender/intern/cycles/render/osl.cpp
===================================================================
--- trunk/blender/intern/cycles/render/osl.cpp	2012-09-15 16:31:11 UTC (rev 50639)
+++ trunk/blender/intern/cycles/render/osl.cpp	2012-09-15 17:57:51 UTC (rev 50640)
@@ -589,6 +589,38 @@
 {
 }
 
+void OSLCompiler::parameter_array(const char *name, const float f[], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_color_array(const char *name, const float f[][3], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_vector_array(const char *name, const float f[][3], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_normal_array(const char *name, const float f[][3], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_point_array(const char *name, const float f[][3], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_array(const char *name, const int f[], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_array(const char *name, const char * const s[], int arraylen)
+{
+}
+
+void OSLCompiler::parameter_array(const char *name, const Transform tfm[], int arraylen)
+{
+}
+
 #endif /* WITH_OSL */
 
 CCL_NAMESPACE_END




More information about the Bf-blender-cvs mailing list