Skip to content

Commit b1b5ea7

Browse files
committed
same for blender and gh
1 parent 957b303 commit b1b5ea7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/compas_blender/artists/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@
9696
from .torusartist import TorusArtist
9797

9898

99+
BaseArtist = BlenderArtist
100+
101+
99102
@plugin(category='drawing-utils', pluggable_name='clear', requires=['bpy'])
100103
def clear_blender():
101104
compas_blender.clear()
@@ -149,6 +152,7 @@ def new_artist_blender(cls, *args, **kwargs):
149152

150153

151154
__all__ = [
155+
'BaseArtist',
152156
'BlenderArtist',
153157
'BoxArtist',
154158
'CapsuleArtist',

src/compas_ghpython/artists/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@
111111
from .vectorartist import VectorArtist
112112
from .volmeshartist import VolMeshArtist
113113

114+
115+
BaseArtist = GHArtist
116+
117+
114118
ShapeArtist.default_color = (255, 255, 255)
115119

116120
MeshArtist.default_color = (0, 0, 0)
@@ -188,6 +192,7 @@ def new_artist_gh(cls, *args, **kwargs):
188192

189193

190194
__all__ = [
195+
'BaseArtist',
191196
'GHArtist',
192197
'ShapeArtist',
193198
'BoxArtist',

0 commit comments

Comments
 (0)