[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21261] branches/soc-2009-yukishiro/source /blender/sh: fix some silly mistakes
Jingyuan Huang
jingyuan.huang at gmail.com
Tue Jun 30 08:31:21 CEST 2009
Revision: 21261
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21261
Author: yukishiro
Date: 2009-06-30 08:31:21 +0200 (Tue, 30 Jun 2009)
Log Message:
-----------
fix some silly mistakes
Modified Paths:
--------------
branches/soc-2009-yukishiro/source/blender/sh/SH_api.h
branches/soc-2009-yukishiro/source/blender/sh/intern/compute.c
Modified: branches/soc-2009-yukishiro/source/blender/sh/SH_api.h
===================================================================
--- branches/soc-2009-yukishiro/source/blender/sh/SH_api.h 2009-06-30 06:27:48 UTC (rev 21260)
+++ branches/soc-2009-yukishiro/source/blender/sh/SH_api.h 2009-06-30 06:31:21 UTC (rev 21261)
@@ -39,7 +39,7 @@
void SH_computeSceneCoefficients(struct Scene *scene, unsigned int customdata_mask,
short compute_shadow, short recompute);
-void SH_computeMeshCoefficients(struct Object *ob, int compute_shadow, unsigned int customdata_mask);
+void SH_computeMeshCoefficients(struct Scene *scene, struct Object *ob, unsigned int customdata_mask);
void SH_computeLightCoefficients(struct LightEnv *env);
void SH_rotateLightEnv(struct LightEnv *env, float quat[4]);
Modified: branches/soc-2009-yukishiro/source/blender/sh/intern/compute.c
===================================================================
--- branches/soc-2009-yukishiro/source/blender/sh/intern/compute.c 2009-06-30 06:27:48 UTC (rev 21260)
+++ branches/soc-2009-yukishiro/source/blender/sh/intern/compute.c 2009-06-30 06:31:21 UTC (rev 21261)
@@ -945,7 +945,7 @@
}
no[0] = -n[0]; // TODO
- no[1] = n[1];
+ no[1] = -n[1];
no[2] = n[2];
for (channel = 0; channel < 3; channel++) {
More information about the Bf-blender-cvs
mailing list