-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImageTexture change Size in Editor no 2D preview update #5738
Comments
This seems to be fixed in Godot 3.0 beta 2. Can't reproduce, all of the above changed. Close? |
|
We have now entered release freeze for Godot 3.0 and want to focus only on release critical issues for that milestone. Therefore, we're moving this issue to the 3.1 milestone, though a fix may be made available for a 3.0.x maintenance release after it has been tested in the master branch during 3.1 development. If you consider that this issue is critical enough to warrant blocking the 3.0 release until fixed, please comment so that we can assess it more in-depth. |
…dotengine#5738 and likely many others
…dotengine#5738 and likely many others
Changing the Size of an ImageTexture(Resource) in the Editor is not updating the 2D preview(you have to click on the sprite to update).
Adding this solves the issue.
https://github.com/godotengine/godot/blob/master/scene/resources/texture.cpp#L32
https://github.com/godotengine/godot/blob/master/scene/resources/texture.cpp#L140
I am not sure what " _change_notify();" does, maybe this has to be added too.
Is it even wise to change the size of an ImageTexture in the Editor?
I can't see any effect:
1.The size changes are never saved.
1.1. Saving the resource after changing the size is only saving the old size.
1.2. Change the "ImageTexture" Size, press save resource, press save scene, restart project. the ImageTexture has the old size.
1.3. Exporting to an TileSet with the new size is also using the old size.
If this is something that should not be used is it possible to hide the settings?
The text was updated successfully, but these errors were encountered: