Skip to content

Commit 244d37b

Browse files
committed
small patch
1 parent 82945eb commit 244d37b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/compas_viewer/scene/planeobject.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
from typing import Optional
22

33
from compas.datastructures import Mesh
4-
from compas.geometry import Frame
54
from compas.geometry import Line
65
from compas.geometry import Plane
76
from 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 = [

src/compas_viewer/scene/vectorobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)