File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from typing import Optional
22
33from compas .datastructures import Mesh
4- from compas .geometry import Frame
54from compas .geometry import Line
65from compas .geometry import Plane
76from compas .geometry import Point
@@ -26,7 +25,6 @@ class PlaneObject(GeometryObject):
2625
2726 def __init__ (self , planesize : float = 1 , ** kwargs ):
2827 super ().__init__ (** kwargs )
29- self .frame : Frame = Frame .from_plane (self .plane )
3028 self .planesize = planesize
3129
3230 self .vertices = [
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def _read_lines_data(self) -> ShaderDataType:
5959 self ._anchor + self .geometry , # Arrow end
6060 ]
6161
62- colors = [self .linecolor or self .viewer .config .linecolor ] * len (positions )
62+ colors = [self .linecolor or self .viewer .config .ui . display . linecolor ] * len (positions )
6363 elements = [[0 , 1 ]]
6464 return positions , colors , elements
6565
You can’t perform that action at this time.
0 commit comments