Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Bevel and displace not working #189

Open
YashaEnns opened this issue Nov 13, 2020 · 4 comments
Open

[BUG]Bevel and displace not working #189

YashaEnns opened this issue Nov 13, 2020 · 4 comments

Comments

@YashaEnns
Copy link

Blender version 2.90.1
Sorcar version 3.2.1

bevel
Traceback (most recent call last):
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\operators\ScExecuteNode.py", line 19, in execute
curr_tree.execute_node()
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\tree\ScNodeTree.py", line 77, in execute_node
if (not n.execute()):
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\nodes_base\node_base.py", line 56, in execute
self.functionality()
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\nodes\component_operators\ScBevel.py", line 78, in functionality
spread = self.inputs["Spread"].default_value
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy\ops.py", line 201, in call
ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: : keyword "vertex_only" unrecognized

location: :-1

displace
Traceback (most recent call last):
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\operators\ScExecuteNode.py", line 19, in execute
curr_tree.execute_node()
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\tree\ScNodeTree.py", line 77, in execute_node
if (not n.execute()):
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\nodes_base\node_base.py", line 57, in execute
self.node_error = not self.init_out(self.post_execute())
File "C:\Users\KITE01\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\Sorcar-master\nodes_base\node_modifier.py", line 28, in post_execute
bpy.ops.object.modifier_apply(apply_as='DATA', modifier=self.prop_mod_name)
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\modules\bpy\ops.py", line 201, in call
ret = op_call(self.idname_py(), None, kw)
TypeError: Converting py args to operator properties: : keyword "apply_as" unrecognized

location: :-1

@emmagoune
Copy link

Hi!
Your problems are due to the new functions in 2.9.
For the first problem replace the ScBevelMod.py by the one I have attached. The other issue has been resolved in a previous post.
ScBevelMod.py.zip

@yoosme
Copy link

yoosme commented Dec 9, 2020

I'm having the same issue even after replacing the .py files in the addon.
I noticed that the modifiers work when I don't click on the set preview button on the primitive. However, when I start attaching additional modifiers to the nodes, they stop working again. please help.

@YashaEnns
Copy link
Author

I'm having the same issue even after replacing the .py files in the addon.
I noticed that the modifiers work when I don't click on the set preview button on the primitive. However, when I start attaching additional modifiers to the nodes, they stop working again. please help.

I also changed the line in the "Sorcar / nodes / _base / node_modifier.py" file.

Instead of: bpy.ops.object.modifier_apply (apply_as = 'DATA', modifier = self.prop_mod_name)

I wrote in: bpy.ops.object.modifier_apply (modifier = self.prop_mod_name)

@emmagoune
Copy link

@yoosme , I have also commented on Issue #188 in more details if you need.
You should definitely do what @YashaEnns did for the modifiers and also add the Bevel scripts that I re-wrote. It worked for me, hopefully it will work for you too!
Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants