pramberg / DeviceRGB

🌈 Plugin for UE4 that lets you control RGB devices using materials and textures
MIT License
8 stars 0 forks source link

Ensure the view extension only runs one time every frame in the editor #10

Closed pramberg closed 3 years ago

pramberg commented 3 years ago

Description

When using the material editor in a separate window, so both the level editor and the material editor viewports are visible, the view extension is run twice. This causes the colors to behave sporadically. The optimal solution would probably be to use the viewport/window the use last interacted with, but I'm unsure if that's possible. Regardless, this needs to be fixed in some way, because it makes testing more difficult than it has to be.

Requirements

pramberg commented 3 years ago

This was fixed in 814f3494487bb4576bffe9d32a1fedcac7b260f3. The view extension only executes for the last used viewport