Age | Commit message (Collapse) | Author |
|
|
|
This reverts commits 1025e3ecea67b90232cfdc9590a7ee8887efdcc8
and 799ed2b98984414fd3b7b667c5e3e5d2e6d35a66.
|
|
Fix properties being lost when reloading placeholder GDScript instance
|
|
|
|
Fix showing AnimatedTexture frame_* properties in editor
|
|
Consistency in resource format saver/loader de-registration
|
|
Regression from cd0b82fd56bdba5a4f1a057fd2d50854c1f503ef, it must be hidden from docs
(PROPERTY_USAGE_INTERNAL) but not from the editor.
Supersedes and fixes #24880.
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
|
|
Fix broken encrypted scripts during export
|
|
Use temporary cache directory instead of editor settings directory
in order to resolve encrypted file access needed for encrypting scripts
on all platforms.
|
|
Some used 'is_valid()' checks, others not. Validity is already checked in 'unref()',
and 'remove_resource_format_*()' has an ERR_FAIL condition on 'is_null()' already
(which shouldn't happen since we're only unregistering things that we previously
registered.
Also add missing GDCLASS statement in ResourceFormatLoaderVideoStreamGDNative,
missed in #20552 which was last amended before #19501 was merged.
|
|
Remove vsgdnative loader on exit
|
|
Fixes 2D bones selection
|
|
|
|
During reloading in `GDScriptLanguage::reload_all_scripts` a placeholder instance that must remain so is replaced with a new placeholder instance. The state is then restored by calling `ScriptInstance::set` for each property. This does not work if the script is missing the properties due to build/parse failing.
The fix for such cases is to call `placeholder_set_fallback` instead of `set` on the script instance.
I took this chance to move the `build_failed` flag from `PlaceHolderScriptInstance` to `Script`. That improves the code a lot. I also renamed it to `placeholder_fallback_enabled` which is a much better name (`build_failed` could lead to misunderstandings).
|
|
New contributors added to AUTHORS:
@clayjohn, @lupoDharkael, @supagu, @timoschwarzer, @Xrayez
Thanks to all contributors and donors for making Godot possible!
[ci skip]
|
|
|
|
[Regression] Hides error_label of state machine on the first time.
|
|
|
|
Added interface for GDNative Videodecoder.
|
|
Fix a nested ysort invalid memory read again
|
|
Travis: Use pip to install SCons on OSX
|
|
Not sure why we switched from homebrew to scons-local anymore,
but pip should work just fine and is recommended by upstream.
Downloads of scons-local from SourceForge were quite iffy, so
this should help avoid CI errors due to not having downloaded
SCons successfully.
Setting Python's user binary PATH seems necessary on Travis/OSX
as per travis-ci/travis-ci#5030 (confirmed that 'scons' is not
in PATH without it).
|
|
Fixes #24755
|
|
AnimationNodeTransition name begins from 0
|
|
Fix "Whole Words" and "Match Cases" checkbox behavior in "Find in Files"
|
|
Update IME text only for focused input controls.
|
|
Fix strip out spaces while generating serial number for node name
|
|
Don't use -ffast-math or other unsafe math optimizations
|
|
and added "state" string for default name not to confuse it as number
|
|
Match case check box was used for whole words as well as match case.
|
|
Godot supports many different compilers and for production releases we
have to support 3 currently: GCC8, Clang6, and MSVC2017. These compilers
all do slightly different things with -ffast-math and it is causing
issues now. See #24841, #24540, #10758, #10070. And probably other
complaints about physics differences between release and release_debug
builds.
I've done some performance comparisons on Linux x86_64. All tests are
ran 20 times.
Bunnymark: (higher is better)
(bunnies) min max stdev average
fast-math 7332 7597 71 7432
this pr 7379 7779 108 7621 (102%)
FPBench (gdscript port http://fpbench.org/) (lower is better)
(ms)
fast-math 15441 16127 192 15764
this pr 15671 16855 326 16001 (99%)
Float_add (adding floats in a tight loop) (lower is better)
(sec)
fast-math 5.49 5.78 0.07 5.65
this pr 5.65 5.90 0.06 5.76 (98%)
Float_div (dividing floats in a tight loop) (lower is better)
(sec)
fast-math 11.70 12.36 0.18 11.99
this pr 11.92 12.32 0.12 12.12 (99%)
Float_mul (multiplying floats in a tight loop) (lower is better)
(sec)
fast-math 11.72 12.17 0.12 11.93
this pr 12.01 12.62 0.17 12.26 (97%)
I have also looked at FPS numbers for tps-demo, 3d platformer, 2d
platformer, and sponza and could not find any measurable difference.
I believe that given the issues and oft-reported (physics) glitches on
release builds I believe that the couple of percent of tight-loop
floating point performance regression is well worth it.
This fixes #24540 and fixes #24841
|
|
support.
|
|
|
|
|
|
Make tooltips display for nested resources
|
|
RandomPCG randf/randd functions typos fix
|
|
|
|
Use 'release_debug' for mono export templates
|
|
This fixes the previously wrong PR
Because we don't actually ship 'debug' templates to users make sure
the mono exporter picks the correct 'data' directory for export
templates.
This fixes #24752
|
|
little fix to function types
|
|
PulseAudio driver will now change the device if the default system device changes
|
|
Repair String lstrip and rstrip.
|
|
Use 'release_debug' for mono export templates
|
|
Because we don't actually ship 'debug' templates to users make sure
the mono exporter picks the correct 'data' directory for export
templates.
This fixes #24752
|
|
Background: lstrip and rstrip were broken by changes to String in:
0e29f7974b59e4440cf02e1388fb9d8ab2b5c5fd
which removed it's access to Vector::find(CharType).
Moved Vector's find up into CowData so it can be shared by Vector and String.
Added String::find_char using CowData::find.
Implemented rstrip and lstrip using find_char.
Added a few tests for String rstrip and lstrip.
|
|
Release freeze is now active, only major bug fixes will be considered.
|
|
Misc fixes to source strings.
|
|
|
|
Move scrolls in the StateMachine editor inside the panel
|
|
Fix state machine scroll
|