Explorar o código

Limit multiple tabs in node editor to paint for now

luboslenco hai 7 meses
pai
achega
ef15b208e0
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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("+"))) {
 			if (ui_tab(ui_nodes_htab, tr("+"))) {
 				array_push(ui_nodes_tabs, context_raw.material);
 				array_push(ui_nodes_tabs, context_raw.material);
 			}
 			}
+			///end
 		}
 		}
 
 
 		// Grid
 		// Grid