1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Prevent duplicated hints in shader uniform completion

This commit is contained in:
Yuri Rubinsky
2022-09-11 14:49:19 +03:00
parent 200b9cde88
commit e4a8646c19
2 changed files with 39 additions and 15 deletions

View File

@@ -1050,6 +1050,10 @@ private:
};
CompletionType completion_type;
ShaderNode::Uniform::Hint current_uniform_hint = ShaderNode::Uniform::HINT_NONE;
TextureFilter current_uniform_filter = FILTER_DEFAULT;
TextureRepeat current_uniform_repeat = REPEAT_DEFAULT;
bool current_uniform_instance_index_defined = false;
int completion_line = 0;
BlockNode *completion_block = nullptr;
DataType completion_base;