Skip to content

Commit

Permalink
support Blender 4.2 sphere light probes
Browse files Browse the repository at this point in the history
  • Loading branch information
wrapperup committed Oct 11, 2024
1 parent 2b4feb6 commit 1988358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/operators/tlm.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def invoke(self, context, event):
for obj in bpy.context.scene.objects:

if obj.type == "LIGHT_PROBE":
if obj.data.type == "CUBEMAP":
if obj.data.type == "SPHERE":

cam_name = "EnvPCam_" + obj.name
camera = bpy.data.cameras.new(cam_name)
Expand Down

0 comments on commit 1988358

Please sign in to comment.