Skip to content

Commit 6e5a480

Browse files
committed
small bug in rhino point geometry
1 parent 08f76e9 commit 6e5a480

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
* Fixed bug in `compas_rhino.conversions.RhinoPoint.from_geometry`.
15+
1416
### Removed
1517

1618

src/compas_rhino/conversions/_geometry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def from_geometry(cls, geometry):
148148
:class:`ConversionError`
149149
If the geometry cannot be converted to the geometry type of the wrapper.
150150
"""
151-
wrapper = cls
151+
wrapper = cls()
152152
wrapper.geometry = geometry
153153
return wrapper
154154

0 commit comments

Comments
 (0)