Skip to content

Commit e7d7b35

Browse files
committed
init _guids
1 parent e31d281 commit e7d7b35

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
* Fixed bug in `Pointcloud.from_box()`.
2323
* Changed `compas.scene.MeshObject` to not use vertex coordinate caching because it is too fragile.
2424
* Changed `compas_rhino.scene.RhinoMeshObject` to keep track of element-guid pairs in dicts.
25+
* Changed `compas.scene.Scene._guids` to a default value of `[]`.
2526

2627
### Removed
2728

src/compas/scene/sceneobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def __init__(
111111
# which means that adding child objects will be added in context "None"
112112
self.context = context
113113
self._item = item
114-
self._guids = None
114+
self._guids = []
115115
self._node = None
116116
self._frame = frame
117117
self._transformation = transformation

0 commit comments

Comments
 (0)