Skip to content

Commit

Permalink
apply march 2024 deprecation of graph.smoothed
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedh committed Jan 17, 2025
1 parent ffdc7eb commit f72cef9
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions trimesh/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"""

import collections
import warnings

import numpy as np

Expand Down Expand Up @@ -742,19 +741,6 @@ def neighbors(edges, max_index=None, directed=False):
return array


def smoothed(*args, **kwargs):
"""
DEPRECATED: use `trimesh.graph.smooth_shade(mesh, ...)`
"""
warnings.warn(
"`trimesh.graph.smoothed` is deprecated and will be removed in March 2024: "
+ "use `trimesh.graph.smooth_shade(mesh, ...)`",
category=DeprecationWarning,
stacklevel=2,
)
return smooth_shade(*args, **kwargs)


def smooth_shade(
mesh, angle: Optional[Number] = None, facet_minarea: Optional[Number] = 10.0
):
Expand Down

0 comments on commit f72cef9

Please sign in to comment.