Skip to content

Commit f74fdda

Browse files
committed
Merge branch 'main' into update/buffermanager
2 parents f1a2747 + b35b9f1 commit f74fdda

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2727
* Removed `paint_instance` from `Renderer` as it handled by a shader flag.
2828

2929

30+
## [1.3.2] 2025-03-12
31+
32+
### Added
33+
34+
### Changed
35+
36+
### Removed
37+
38+
3039
## [1.3.1] 2025-01-22
3140

3241
### Added
@@ -359,6 +368,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
359368
* All color representations are now in `compas.colors.Color`.
360369
* Reduce the `numpy.array` representation. Mostly use `list` instead for clarity.
361370
* Comments improved and better type hints.
371+
* Fixed issue [#200](https://github.com/compas-dev/compas_viewer/issues/200) by adding installation package path.
362372

363373
### Removed
364374
* Removed `self.objects` from the `Render` class.`

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ where = ["src"]
5454

5555
[tool.setuptools.package-data]
5656
compas_viewer = ['config.json']
57-
"compas_viewer.assets" = ["*.svg", "*.png", "*.ttf"]
57+
"compas_viewer.assets" = ["*.svg", "*.png"]
58+
"compas_viewer.assets.fonts" = ["*.ttf"]
5859
"compas_viewer.renderer.shaders" = ["*.vert", "*.frag"]
5960

6061
# ============================================================================
@@ -79,7 +80,7 @@ doctest_optionflags = [
7980
# ============================================================================
8081

8182
[tool.bumpversion]
82-
current_version = "1.3.1"
83+
current_version = "1.3.2"
8384
message = "Bump version to {new_version}"
8485
commit = true
8586
tag = true

src/compas_viewer/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
__copyright__ = "COMPAS Association"
2222
__license__ = "MIT License"
2323
__email__ = "li.chen@arch.ethz.ch"
24-
__version__ = "1.3.1"
24+
__version__ = "1.3.2"
2525

2626

2727
HERE = os.path.dirname(__file__)

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
@@ -60,7 +60,7 @@ def _calculate_arrow_buffer_data(self):
6060
self._anchor + self.geometry, # Arrow end
6161
]
6262

63-
self._arrow_colors = [self.linecolor or self.viewer.config.linecolor] * len(self._arrow_vertices)
63+
self._arrow_colors = [self.linecolor or self.viewer.config.ui.display.linecolor] * len(self._arrow_vertices)
6464

6565
def _read_points_data(self) -> None:
6666
pass

0 commit comments

Comments
 (0)