Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/r2.6' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerfarmer committed Aug 26, 2023
2 parents 5bc7468 + e846938 commit c700811
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion blenderproc/python/writer/BopWriterUtility.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@
import cv2
import bpy
from mathutils import Matrix
import sys

from blenderproc.python.types.MeshObjectUtility import MeshObject, get_all_mesh_objects
from blenderproc.python.writer.WriterUtility import _WriterUtility
from blenderproc.python.types.LinkUtility import Link
from blenderproc.python.utility.SetupUtility import SetupUtility
from blenderproc.python.utility.MathUtility import change_target_coordinate_frame_of_transformation_matrix

os.environ['PYOPENGL_PLATFORM'] = 'egl'
# EGL is not available under windows
if sys.platform in ["linux", "linux2"]:
os.environ['PYOPENGL_PLATFORM'] = 'egl'
# pylint: disable=wrong-import-position
import pyrender
# pylint: enable=wrong-import-position
Expand Down
2 changes: 1 addition & 1 deletion blenderproc/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
""" Define the current BlenderProc version. """
__version__ = '2.6.0'
__version__ = '2.6.1'
4 changes: 4 additions & 0 deletions change_log.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

# Version History

## Version 2.6.1 26th August 2023

- Fixes pyrender usage on windows, EGL / headless rendering is now only used on linux

## Version 2.6.0 17th August 2023

- BOP toolkit is now tightly integrated into the the BOP writer:
Expand Down

0 comments on commit c700811

Please sign in to comment.