feat: Update version to 0.13.0 in project files and adjust dependencies
This commit is contained in:
@@ -45,6 +45,7 @@ def _pie_button(
|
||||
refine_selection,
|
||||
generate_normal,
|
||||
mesh_resolution,
|
||||
inward_axis,
|
||||
):
|
||||
operator = pie.operator(
|
||||
"anyimage.cutout_selection_to_shape",
|
||||
@@ -57,6 +58,7 @@ def _pie_button(
|
||||
operator.refine_selection = refine_selection
|
||||
operator.generate_normal = generate_normal
|
||||
operator.mesh_resolution = mesh_resolution
|
||||
operator.inward_axis = inward_axis
|
||||
|
||||
|
||||
def open_shape_pie(
|
||||
@@ -76,6 +78,7 @@ def open_shape_pie(
|
||||
getattr(settings, "cutout_generate_normal", False)
|
||||
)
|
||||
mesh_resolution = cutout_mesh_resolution(source_object.data.size, point_spacing)
|
||||
inward_axis = str(getattr(settings, "cutout_inward_axis", "NEGATIVE_Z"))
|
||||
|
||||
def draw(menu, _context):
|
||||
pie = menu.layout.menu_pie()
|
||||
@@ -91,6 +94,7 @@ def open_shape_pie(
|
||||
refine_selection,
|
||||
generate_normal,
|
||||
mesh_resolution,
|
||||
inward_axis,
|
||||
)
|
||||
|
||||
context.window_manager.popup_menu_pie(
|
||||
|
||||
Reference in New Issue
Block a user