[BUG] SmoothModifier.iterations expected an int type, not float
- Lenguaje dominante
- Python
- Estrellas
- 1.2k
- Forks
- 112
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Using the Smooth Modifier throws a type error:
```
Python: Traceback (most recent call last):
File "C:\Users\Primary User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\sorcar\operators\ScExecuteNode.py", line 19, in execute
curr_tree.execute_node()
File "C:\Users\Primary User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\sorcar\tree\ScNodeTree.py", line 77, in execute_node
if (not n.execute()):
File "C:\Users\Primary User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\sorcar\nodes\_base\node_base.py", line 56, in execute
self.functionality()
File "C:\Users\Primary User\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\sorcar\nodes\modifiers\ScSmoothMod.py", line 42, in functionality
bpy.context.object.modifiers[self.prop_mod_name].iterations = self.inputs["Repeat"].default_value
TypeError: bpy_struct: item.attr = val: SmoothModifier.iterations expected an int type, not float
location: :-1
```

Blender: 3.1.2
Sorcar: 3.2.1
OS: Windows 10
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.