diff options
| author | Juan Linietsky | 2017-07-07 14:13:42 -0300 |
|---|---|---|
| committer | GitHub | 2017-07-07 14:13:42 -0300 |
| commit | 025f3501ed524c2815938139be85fd27d1fa07f3 (patch) | |
| tree | 12e9827b69516db38c045071debca40861ecf7d0 /editor/plugins/shader_graph_editor_plugin.cpp | |
| parent | 8b362b50094ccd332c6ee3d0853a6b9b49f70253 (diff) | |
| parent | 566655adc1c1b25cb2cc7c905c899f78170264d8 (diff) | |
| download | godot-025f3501ed524c2815938139be85fd27d1fa07f3.tar.gz godot-025f3501ed524c2815938139be85fd27d1fa07f3.tar.zst godot-025f3501ed524c2815938139be85fd27d1fa07f3.zip | |
Merge pull request #9541 from ducdetronquito/master
If it makes you guys happy...
Diffstat (limited to 'editor/plugins/shader_graph_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/shader_graph_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/shader_graph_editor_plugin.cpp b/editor/plugins/shader_graph_editor_plugin.cpp index 9c65ef667..5506c035e 100644 --- a/editor/plugins/shader_graph_editor_plugin.cpp +++ b/editor/plugins/shader_graph_editor_plugin.cpp @@ -1382,7 +1382,7 @@ ToolButton *ShaderGraphView::make_editor(String text,GraphNode* gn,int p_id,int Color c = graph->default_get_value(type,p_id,param); for (int x=1;x<14;x++) for (int y=1;y<14;y++) - icon_color.put_pixel(x,y,c); + icon_color.set_pixel(x,y,c); Ref<ImageTexture> t; t.instance(); t->create_from_image(icon_color); |
