File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
1
from typing import Optional
2
2
3
3
from compas .datastructures import Mesh
4
- from compas .geometry import Frame
5
4
from compas .geometry import Line
6
5
from compas .geometry import Plane
7
6
from compas .geometry import Point
@@ -26,7 +25,6 @@ class PlaneObject(GeometryObject):
26
25
27
26
def __init__ (self , planesize : float = 1 , ** kwargs ):
28
27
super ().__init__ (** kwargs )
29
- self .frame : Frame = Frame .from_plane (self .plane )
30
28
self .planesize = planesize
31
29
32
30
self .vertices = [
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def _read_lines_data(self) -> ShaderDataType:
59
59
self ._anchor + self .geometry , # Arrow end
60
60
]
61
61
62
- colors = [self .linecolor or self .viewer .config .linecolor ] * len (positions )
62
+ colors = [self .linecolor or self .viewer .config .ui . display . linecolor ] * len (positions )
63
63
elements = [[0 , 1 ]]
64
64
return positions , colors , elements
65
65
You can’t perform that action at this time.
0 commit comments