Коммит b9a2f556 создал по автору generalpancakemstr's avatar generalpancakemstr
Просмотр файлов

Commented fake code limiting subdivision levels (which is handled internally by the node).

владелец 22bd87cb
...@@ -56,7 +56,7 @@ class SvOpenSubdivideNode(bpy.types.Node,SverchCustomTreeNode): ...@@ -56,7 +56,7 @@ class SvOpenSubdivideNode(bpy.types.Node,SverchCustomTreeNode):
socket.use_prop=True socket.use_prop=True
socket.default_property_type = 'int' socket.default_property_type = 'int'
socket.default_int_property = 0 socket.default_int_property = 0
socket.int_range = (0,self.maxSubdivision) # This does not actually appear to limit the subdivision levels # socket.int_range = (0,self.maxSubdivision) # There's no way to visually limit the subdivision levels (it's handled internally), but something like this would be nice in the future.
self.outputs.new('SvVerticesSocket', "Vertices") self.outputs.new('SvVerticesSocket', "Vertices")
self.outputs.new('SvStringsSocket', "Edges") self.outputs.new('SvStringsSocket', "Edges")
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать