File tree Expand file tree Collapse file tree 5 files changed +15
-6
lines changed
Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Original file line number Diff line number Diff 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.`
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ where = ["src"]
5454
5555[tool .setuptools .package-data ]
5656compas_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 "
8384message = " Bump version to {new_version}"
8485commit = true
8586tag = true
Original file line number Diff line number Diff line change 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
2727HERE = os .path .dirname (__file__ )
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 @@ -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
You can’t perform that action at this time.
0 commit comments