diff --git a/blender/ops_match_texture_aspect_ratio.py b/blender/ops_match_texture_aspect_ratio.py index 9bd83c6..08e5008 100644 --- a/blender/ops_match_texture_aspect_ratio.py +++ b/blender/ops_match_texture_aspect_ratio.py @@ -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" diff --git a/blender/ops_plane_texture_unwrap.py b/blender/ops_plane_texture_unwrap.py index bc9ec6c..04c00f2 100644 --- a/blender/ops_plane_texture_unwrap.py +++ b/blender/ops_plane_texture_unwrap.py @@ -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', }) }