godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.29k stars 21.05k forks source link

Sprite Texture Flags are reset to have Filter ticked / on every time I load my project #16458

Closed therealrobster closed 6 years ago

therealrobster commented 6 years ago

Godot version: 3.0 Official

OS/device including version: Ubuntu Linux 16.0.4 LTS Intel® Iris Pro Graphics 580 (Skylake GT4e) Intel® Core™ i7-6770HQ CPU @ 2.60GHz × 8

Issue description: I have a scene that will be a character. It's made up of many sprites (one for each arm, leg, etc). When I import the texture I have to manually turn off the Filter Texture Flag. That's fine, but then:

Steps to reproduce: Create a sprite, import texture, turn off Filter, save scene, import into another scene and texture filters will be back on. If not in the viewer/Editor then definitely in the game when running with F5. soldat.zip

Minimal reproduction project: Attached a test project to show.

ghost commented 6 years ago

Reimport the textures using the Import Dock with Filter option disabled.

image

therealrobster commented 6 years ago

That worked, thank you. Am I going to have to do that every time for every sprite though?

ghost commented 6 years ago

You can set import options as default by clicking on the 'Preset..'

Also, you can reimport several files at once.

AttackButton commented 6 years ago

Thank you for the help.

Also, isn't better to make the filter checkbox false as default in the next version of godot (3.1)? Even this being easy to setup in the import settings almost all the tutorials I have watched turned this as false in the check box.

vnen commented 6 years ago

I think filter is more common than non-filter. If you're looking at pixel-art games only, then it's common to remove the filtering, but that's just one art style between many. 3D textures should have filter by default, for instance.

Anyway, I'm closing this since it's not a bug.

Gastronok commented 5 years ago

@vnen I ran into a variant of this too -- I manually overrode the texture flags for a single instance of a texture, and it looked fine in the editor but not at runtime or if I closed/reopened the project.

How is it not a bug to have unexpected differences between edit-time and runtime? Conversely, why do we allow people to edit the individual flags in the inspector if those values are then ignored/reset?

reptofrog commented 5 years ago

Hate to comment on an archived bug, but this is soooooo unintuitive. Any chance for this weird work flow to change in the future?