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

put some limits to max ubo sizes to avoid crashes

This commit is contained in:
Juan Linietsky
2016-12-23 01:05:21 -03:00
parent 4e729f38e0
commit 19ba45587c
3 changed files with 4 additions and 4 deletions

View File

@@ -43,7 +43,6 @@ GIProbeEditorPlugin::GIProbeEditorPlugin(EditorNode *p_node) {
editor=p_node;
bake = memnew( Button );
bake->set_text("Bake GI!");
bake->set_icon(editor->get_gui_base()->get_icon("BakedLight","EditorIcons"));
bake->hide();;
bake->connect("pressed",this,"_bake");