mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-04 04:23:58 -06:00
Minor rework in response to code review.
Contributes to CURA-1504
This commit is contained in:
parent
5f638f6e69
commit
4cc0026af3
1 changed files with 0 additions and 3 deletions
|
@ -2,7 +2,6 @@ from UM.Scene.SceneNodeDecorator import SceneNodeDecorator
|
|||
from UM.Application import Application
|
||||
|
||||
from UM.Math.Polygon import Polygon
|
||||
from UM.Logger import Logger
|
||||
from . import ConvexHullNode
|
||||
|
||||
import numpy
|
||||
|
@ -113,7 +112,6 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
|
||||
# Check the cache
|
||||
if child_polygon == self._2d_convex_hull_group_child_polygon:
|
||||
# Logger.log('d', 'Cache hit in _compute2DConvexHull group path')
|
||||
return self._2d_convex_hull_group_result
|
||||
|
||||
# First, calculate the normal convex hull around the points
|
||||
|
@ -137,7 +135,6 @@ class ConvexHullDecorator(SceneNodeDecorator):
|
|||
|
||||
# Check the cache
|
||||
if mesh is self._2d_convex_hull_mesh and world_transform == self._2d_convex_hull_mesh_world_transform:
|
||||
# Logger.log('d', 'Cache hit in _compute2DConvexHull mesh path')
|
||||
return self._2d_convex_hull_mesh_result
|
||||
|
||||
vertex_data = mesh.getConvexHullTransformedVertices(world_transform)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue