fix number display

This commit is contained in:
BennyKok
2023-09-26 17:17:56 +08:00
parent 02a6b37971
commit c269a1e340
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ class Object_MatchTextureAspectRatio(blender_node.EditOps):
EXTRA_INPUT_TYPES = {
"image": ("IMAGE",),
"scale": ('FLOAT', {'default': 0.001, })
"scale": ('FLOAT', {'default': 0.001, "display": "number" , "step": 0.001})
}
CUSTOM_NAME = "Match Texture Aspect Ratio"
+1 -1
View File
@@ -5,7 +5,7 @@ class Object_PlaneTextureUnwrap(blender_node.EditOps):
EXTRA_INPUT_TYPES = {
"image": ("IMAGE",),
"scale": ('FLOAT', {'default': 1, }),
"scale": ('FLOAT', {'default': 1, "display": "number", "step": 0.01}),
"texture_name": ('STRING', {'default': 'Texture', })
}