Browse Source

Editor: Fixed size and sizeAttenuation UI visibility handling (#21422)

Mr.doob 4 years ago
parent
commit
365a1ddf1e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/js/Sidebar.Material.js

+ 2 - 2
editor/js/Sidebar.Material.js

@@ -1273,8 +1273,8 @@ function SidebarMaterial( editor ) {
 			'emissiveMap': materialEmissiveMapRow,
 			'emissiveMap': materialEmissiveMapRow,
 			'gradientMap': materialGradientMapRow,
 			'gradientMap': materialGradientMapRow,
 			'side': materialSideRow,
 			'side': materialSideRow,
-			'size': materialSize,
-			'sizeAttenuation': materialSizeAttenuation,
+			'size': materialSizeRow,
+			'sizeAttenuation': materialSizeAttenuationRow,
 			'flatShading': materialShadingRow,
 			'flatShading': materialShadingRow,
 			'blending': materialBlendingRow,
 			'blending': materialBlendingRow,
 			'opacity': materialOpacityRow,
 			'opacity': materialOpacityRow,