TheGameCreators / AGK-Studio

3 stars 1 forks source link

[0.51] scene manager refresh after changing current project #263

Open c0d3r9 opened 5 years ago

c0d3r9 commented 5 years ago

If i change the current project the scene manager shows the old scene media. Only after a click of the xyz.scene tab refresh that.

And the preview should cleared too in this case.

plemsoft commented 5 years ago

@c0d3r9 Thanks for reporting this.

This was added to the latest version :)

c0d3r9 commented 5 years ago

@plemsoft but works not correct.If you have one open project and a *.scene tab is active and you change the currect project where is a code tab active then the scene manager shows the sprites from the project before.The scenes manager only updates when you click on the scenes tab in the new current project. In this case if i set a new currect project and switch not in an open scene tab but in a code tab, the scene manager should be empty.I think the scene manager should be always empty if a code tag is active and update always if we switch to another scene file.(btw. don´t know if the scene manager manage the sprites of the complete project or scene based) hope i explain it well, my english is not that best.

plemsoft commented 5 years ago

@c0d3r9 Thanks for explaining this , ahh ok i will have to take another look then :)

c0d3r9 commented 5 years ago

No problem.Its not a big thing.