Renaming rendering/2d project settings. #46552
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
rendering/quality/2d
section of project settings is becoming considerably expanded in 3.2.4, and arguably was not the correct place for settings that were not really to do with quality.3.2.4 is the last sensible opportunity we will have to move these settings, as the only existing one likely to break compatibility in a small way is
pixel_snap
, and given that the whole snapping area is being overhauled we can draw attention to the fact it has changed in the release notes.Class reference is also updated and slightly improved.
pixel_snap
is renamed togpu_pixel_snap
in the project settings and code to help differentiate from CPU side transform snapping.Notes
pixel_snap
setting will need to setgpu_pixel_snap
in the new 2d tab to get the same behaviour.use_nvidia_workaround
also changes, but few people will effectively be using this now that batching is the default for GLES2 and GLES3.pixel_snap
andtransform_snap
. Renaming togpu_pixel_snap
is a compromise to try and differentiate the two. It will probably require a page in the documentation to fully go over these options once everything is finalized.