Skip to content

Commit 4d7079d

Browse files
author
Roberto De Ioris
authored
Update PlottingGraphsWithMatplotlibAndUnrealEnginePython.md
1 parent 24311ad commit 4d7079d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class PlotComponent:
192192
dpi = 72.0
193193
self.texture = ue.create_transient_texture(width, height, EPixelFormat.PF_R8G8B8A8)
194194

195-
self.uobject.get_owner().StaticMeshComponent.OverrideMaterials[0].set_material_texture_parameter('Graph', self.texture)
195+
self.uobject.get_owner().StaticMesh.OverrideMaterials[0].set_material_texture_parameter('Graph', self.texture)
196196

197197
self.fig = plt.figure(1)
198198
self.fig.set_dpi(dpi)

0 commit comments

Comments
 (0)