Skip to content

Commit

Permalink
Merge pull request #268 from MozillaReality/fix-reflection-probe-open…
Browse files Browse the repository at this point in the history
…-image

Fix python error when using the open image button on reflection probes.
  • Loading branch information
keianhzo authored Mar 13, 2024
2 parents 28cb741 + dd4ce6b commit 32b6c62
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 32b6c62

Please sign in to comment.