diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-07-23 09:14:31 +0200 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-07-23 09:14:31 +0200 |
commit | aab8da25ad2c3e6d2df03abbc8e35c1725938c40 (patch) | |
tree | a98f3ddd124571378b146209beb308eb2768f9bc /scene/resources | |
parent | e466dc2daa8eee7e6fb5a7fce40bf9e988a927cb (diff) |
Fix some code found by Coverity Scan and PVS Studio
Diffstat (limited to 'scene/resources')
-rw-r--r-- | scene/resources/visual_shader_nodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/visual_shader_nodes.h b/scene/resources/visual_shader_nodes.h index cafc7a0f00..4585e7fdcc 100644 --- a/scene/resources/visual_shader_nodes.h +++ b/scene/resources/visual_shader_nodes.h @@ -1624,13 +1624,13 @@ public: virtual String generate_code(Shader::Mode p_mode, VisualShader::Type p_type, int p_id, const String *p_input_vars, const String *p_output_vars, bool p_for_preview = false) const; //if no output is connected, the output var passed will be empty. if no input is connected and input is NIL, the input var passed will be empty - void set_comparsion_type(ComparsionType p_func); + void set_comparsion_type(ComparsionType p_type); ComparsionType get_comparsion_type() const; void set_function(Function p_func); Function get_function() const; - void set_condition(Condition p_mode); + void set_condition(Condition p_cond); Condition get_condition() const; virtual Vector<StringName> get_editable_properties() const; |