Skip to content

Commit

Permalink
Fix python error when using the open image button on reflection probes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Exairnous committed Feb 14, 2024
1 parent 28cb741 commit dd4ce6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ def draw(self, context, layout, panel):
sub_row = row.row(align=True)
sub_row.enabled = False
add_link_indicator(sub_row, self.envMapTexture)
row.context_pointer_set("hubs_component", self)
row.context_pointer_set("target", self)
row.context_pointer_set("host", context.active_object)
op = row.operator("image.hubs_open_reflection_probe_envmap", text='', icon='FILE_FOLDER')
op.target_property = "envMapTexture"
Expand Down

0 comments on commit dd4ce6b

Please sign in to comment.