Age | Commit message (Collapse) | Author |
|
Few enchancements for shader editor
|
|
|
|
Use MOUSE_FILTER_PASS for all containers
|
|
Adds pan and zoom gestures to TextureRegion editor
|
|
Shortens minimum height of script editor
|
|
- Add do..while(0) wrapper to ERR_FAIL_NULL macros.
- Add do..while(0) wrapper to ERR_FAIL_COND macros.
- Add do..while(0) wrapper to ERR_CONTINUE macros.
- Add do..while(0) wrapper to ERR_BREAK macros.
- Add do..while(0) wrapper to CRASH_COND macros.
- Add do..while(0) wrapper to ERR_FAIL macros.
- Add do..while(0) wrapper to ERR_PRINT macros.
- Add do..while(0) wrapper to WARN_PRINT macros.
- Add do..while(0) wrapper to WARN_DEPRECATED macros.
- Add do..while(0) wrapper to CRASH_NOW macros.
|
|
|
|
|
|
|
|
|
|
Suppose that the user wants to use some guidelines in 2D mode. The
user has enabled "Use Pixel Snap", and configured the "Grid Step" to
1px.
On some zoom levels, when dragging the guidelines step by step, some
offsets shows the wrong value. The offsets that are wrong vary - it is
affected by the zoom level, so some zoom levels do not display this
problem.
For example, a user may see this while dragging the guideline:
0px 1px 1px 3px 4px 5px 5px 7px 8px
whereby 2px and 6px are missing.
This is due to a floating-point error. The values are printed as
(truncated) integers, but they are actually decimals, so they were
actually 1.9999 and 5.9999 for the missing cases.
Let's fix that by rounding up the values before printing them to get rid
of the errors.
This fixes #35010.
|
|
* TextureRegion editor
* Ploygon2D UV editor
|
|
Replace CameraMatrix::get_viewport_size with get_viewport_half_extents, shadow culling with ortho camera and other affected issues
|
|
Use an icon in the top Animation Key menu
|
|
|
|
Fixes #26637.
Fixes #19900.
The viewport_size returned by get_viewport_size was previously incorrect, being half the correct value. The function is renamed to get_viewport_half_extents, and now returns a Vector2.
Code which called this function has also been modified accordingly.
This PR also fixes shadow culling when using ortho cameras, because the correct input for CameraMatrix::set_orthogonal should be the full HEIGHT from get_viewport_half_extents, and not half the width.
It also fixes state.ubo_data.viewport_size in rasterizer_scene_gles3.cpp to be the width and the height of the viewport in pixels as stated in the documentation, rather than the current value which is half the viewport extents in worldspace, presumed to be a bug.
|
|
|
|
|
|
TextureRegionEditor: Corrected typo
|
|
|
|
Fix editor drawing snapping lines for wrong edge/corner when resizing elements with smart snapping enabled
|
|
elements with smart snapping enabled
fixes #32342
|
|
Fixes AnimationTreePlayer editor UI on HiDPI
|
|
AssetLibrary layout fix
|
|
Fix AnimationTree Editor by using CONNECT_DEFERRED on LineEdit
|
|
* The minimum editor size
* The position of buttons and status text
|
|
This closes #35294.
|
|
Not having this causes the LineEdit to be deleted while still processing
signals, which can cause a crash during focus changes.
Fixes 35293
|
|
hidden progress bar
added in the description the downloaded bytes
Fixes #35267
|
|
|
|
This partially addresses #27018.
|
|
Fix issue regarding rotating Canvas Items in editor
|
|
Tab characters were not rendered properly in the breakpoints and
bookmarks lists of the script editor if the bookmarked line was a
comment, resulting in unknown ASCII symbols “�”.
Fixes #34046.
Also changed formatting a bit to enclose the code in backticks (like in
Markdown) instead of quotes.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
JPG module is optional, so check it's existence before using.
|
|
|
|
Add a crosshair to the 3D viewport
|
|
Canvas items will now rotate correctly no matter what their global scale happens to be.
|
|
|
|
|
|
The crosshair makes freelook navigation a bit easier, while making it
clearer that it's possible to select nodes by clicking while in
freelook mode.
The crosshair is only displayed while in freelook mode.
It uses an icon designed to be visible on any background.
|
|
Containers are meant to forward mouse input to their the Controls
they contain.
PanelContainer has a visible Panel stylebox, so it still defaults
to STOP.
Fixes #34933.
|
|
Fixes #25156.
|
|
Some people set the editor scale below 1 to fit more content on
screen, even if their display doesn't have a particularly low DPI.
This closes #35059.
|
|
This makes it easier to edit large amounts of items.
This partially addresses
https://github.com/godotengine/godot-proposals/issues/368.
|
|
* AnimationTree
* AudioStream
* ResourcePreloader
* ShaderEditor
* VisualShaderEditor
|
|
Add option to disable loading scripts in ScriptCreateDialog
|
|
region change
|
|
|
|
Before this fix, it's easy to miss the drag handle on a HiDPI monitor.
|
|
Change the 2D editor's snap to 8x8 by default
|