[Bf-extensions-cvs] [95e98889] master: sun_position: Fix T72495 traceback error when trying to activate

Damien Picard noreply at git.blender.org
Tue Dec 17 12:40:02 CET 2019


Commit: 95e98889aba926cebcb63160a7f9f27955527140
Author: Damien Picard
Date:   Tue Dec 17 12:37:40 2019 +0100
Branches: master
https://developer.blender.org/rBA95e98889aba926cebcb63160a7f9f27955527140

sun_position: Fix T72495 traceback error when trying to activate

Fix by Jean First (robbott) in D6425

===================================================================

M	sun_position/north.py

===================================================================

diff --git a/sun_position/north.py b/sun_position/north.py
index 44b4ee09..0dbe7e4e 100644
--- a/sun_position/north.py
+++ b/sun_position/north.py
@@ -50,6 +50,7 @@ else:
 
         flat in vec2 v_StartPos;
         in vec4 v_VertPos;
+        out vec4 FragColor;
 
         uniform vec2 u_Resolution;
 
@@ -61,7 +62,7 @@ else:
 
             if (step(sin(dist / 5.0f), 0.0) == 1) discard;
 
-            gl_FragColor = u_Color;
+            FragColor = u_Color;
         }
     '''



More information about the Bf-extensions-cvs mailing list