From 3e83f8c65e64b50ec979444107d3bd9858c721f6 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 12 Dec 2017 15:25:21 +0100 Subject: [PATCH] Fix priority argument ignored in NodePath::set_shader_input --- panda/src/pgraph/nodePath_ext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/pgraph/nodePath_ext.cxx b/panda/src/pgraph/nodePath_ext.cxx index db517c8453..0172fe0c29 100644 --- a/panda/src/pgraph/nodePath_ext.cxx +++ b/panda/src/pgraph/nodePath_ext.cxx @@ -251,7 +251,7 @@ set_shader_input(CPT_InternalName name, PyObject *value, int priority) { } ShaderInput &input = attrib->_inputs[name]; - invoke_extension(&input).__init__(move(name), value); + invoke_extension(&input).__init__(move(name), value, priority); if (!_PyErr_OCCURRED()) { node->set_attrib(ShaderAttrib::return_new(attrib));