Skip to content

Commit

Permalink
Fixed bug reported in #315 (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorTatarnikov committed Jan 15, 2024
1 parent 50c66d2 commit 740398f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions brainrender/scene.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,14 @@ def renderables(self):
@property
def clean_actors(self):
"""
returns only ators that are not Text objects and similar
returns only actors that are not Text objects and similar
"""
return [a for a in self.actors if not a.is_text]

@property
def clean_renderables(self):
"""
Returns meshses only for 'clean actors' (i.e. not text)
Returns meshes only for 'clean actors' (i.e. not text).
_mesh is returned to account for internal rotations.
"""
return [a.mesh for a in self.actors if not a.is_text]
return [a._mesh for a in self.actors if not a.is_text]

0 comments on commit 740398f

Please sign in to comment.