Skip to content

Commit

Permalink
dont spam terminal when running meshviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
paroj committed Jul 23, 2021
1 parent 967de95 commit e5b5eb4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions io_ogre/meshy.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def execute(self, context):
if merged: context.scene.objects.unlink( merged )

try:
os.environ["OGRE_MIN_LOGLEVEL"] = "3" # only warnings and up
if sys.platform.startswith('linux') or sys.platform.startswith('darwin') or sys.platform.startswith('freebsd'):
subprocess.Popen([CONFIG['MESH_PREVIEWER'], path + '/preview.mesh'])
else:
Expand Down

0 comments on commit e5b5eb4

Please sign in to comment.