Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Erwin <significant.bit@gmail.com>2015-03-27 11:12:36 +0300
committerMike Erwin <significant.bit@gmail.com>2015-03-27 11:12:36 +0300
commit7bcb4fbf73b6d9b6bae1d21ec9375134b8c71ff3 (patch)
tree632ec0c08d408222c0dd7fba182836f5a5c7991e /source/blender/editors/space_node/node_edit.c
parent6fc928599ba7d19e7e74d9f8b02617f952d7bdd5 (diff)
shell of a GLSL material node
This will hold a single GLSL function, which can be mixed & matched with other nodes. Goal: similar workflow to OSL shader node but for real-time rendering, not Cycles.
Diffstat (limited to 'source/blender/editors/space_node/node_edit.c')
-rw-r--r--source/blender/editors/space_node/node_edit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_node/node_edit.c b/source/blender/editors/space_node/node_edit.c
index f79d6e26f22..1674fce73b5 100644
--- a/source/blender/editors/space_node/node_edit.c
+++ b/source/blender/editors/space_node/node_edit.c
@@ -2298,6 +2298,8 @@ void NODE_OT_tree_socket_move(wmOperatorType *ot)
/* ********************** Shader Script Update ******************/
+/* TODO: similar for GLSL node --merwin */
+
static int node_shader_script_update_poll(bContext *C)
{
Scene *scene = CTX_data_scene(C);