瀏覽代碼

Limit multiple tabs in node editor to paint for now

luboslenco 7 月之前
父節點
當前提交
ef15b208e0
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      base/sources/ui_nodes.ts

+ 2 - 0
base/sources/ui_nodes.ts

@@ -938,9 +938,11 @@ function ui_nodes_render() {
 				}
 			}
 
+			///if is_paint
 			if (ui_tab(ui_nodes_htab, tr("+"))) {
 				array_push(ui_nodes_tabs, context_raw.material);
 			}
+			///end
 		}
 
 		// Grid