From f72cef9e82b1a88e6ab140c0dc843991173d5b84 Mon Sep 17 00:00:00 2001 From: Michael Dawson-Haggerty Date: Fri, 17 Jan 2025 16:41:35 -0500 Subject: [PATCH] apply march 2024 deprecation of graph.smoothed --- trimesh/graph.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/trimesh/graph.py b/trimesh/graph.py index 8fa739643..62d7c6372 100644 --- a/trimesh/graph.py +++ b/trimesh/graph.py @@ -9,7 +9,6 @@ """ import collections -import warnings import numpy as np @@ -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 ):