baldingwizard / Blender-Addons

119 stars 20 forks source link

Error while running in Blender 3.2 #16

Open saurabhgayali opened 2 years ago

saurabhgayali commented 2 years ago

Python: Traceback (most recent call last): File "C:\Users\User\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\MathsExpressionBlender28\dynamic_maths_expression_node.py", line 230, in invoke return wm.invoke_props_dialog(self, width=viewWidth) TypeError: WindowManager.invoke_props_dialog(): error with keyword argument "width" - Function.width expected an int type, not float

chkrezdorn commented 2 years ago

Created a pull request that addresses this. See MathsExpressionBlender3.1 for patched plugin. Or, simply add viewWidth = int(viewWidth) to line 168 in dynamic_maths_expression_node.py of your existing plugin.

chen135347542093 commented 2 years ago

Build of node tree failed : 'bpy_prop_collection[key]: key "Group Input" not found' bpy.ops.node.node_dynamic_maths_expression(expressionText="a=c+d", presetText="", resequenceInputs=True, presetExpressionList='none', inputProps="", enabledOptions="")

chen135347542093 commented 2 years ago

3.4 Version Error