Age | Commit message (Collapse) | Author |
|
|
|
Yet another node copy-paste PR
|
|
Fix sprite editor conversion tools to handle compressed textures
|
|
Revised cylinder contact point generation in Godot Physics
|
|
|
|
|
|
Cylinder contact points generation is adjusted to make it more stable
when standing on triangle meshes.
Point-Circle:
Switched to simpler plane projection as it's done for Point-Face contact
points. It solves some cases where discrepancies between the two points
caused the cylinder to jump.
Edge-Circle:
Same as before, the case for edge has just been moved from Face-Circle
to a specific method.
Face-Circle:
The previous method was clipping edges against the circle, and then
tried to add contact points when there wasn't enough support and failed
in some cases.
Now using a different algorithm which adds proper contact points around
the circle more consistently.
First, by clipping edges against circle segments using Face-Face
algorithm.
Second, by clipping edges against the circle plane.
|
|
Fix LineEdit minimum width
|
|
-Changed theme setting name to make more sense of what it does
-Reduced amount of minimum characters, so minimum size is smaller.
|
|
Use get_char_size(' ') to calculate space width.
|
|
|
|
Improved Inspector Sub-Resource Editing
|
|
-Better margins
-Colors to delimit subresources better.
|
|
Display loading text while the project manager is loading
|
|
[HTML5] Detect screen scale and DPI.
|
|
`OS.get_screen_scale` will now return the `window.devicePixelRatio`
value, `OS.get_screen_dpi` uses CSS media queries to find approximate
DPI value for the current display.
`OS.get_screen_size` also return the actual screen size (not the CSS
pixel size).
|
|
Improve resource load cache
|
|
Fixed typo in PackedScene documentation
|
|
Accomodate blend shape ranges of -1 to +1 for Vulkan
|
|
|
|
-Added a new method in Resource: reset_state , used for reloading the same resource from disk
-Added a new cache mode "replace" in ResourceLoader, which reuses existing loaded sub-resources but resets their data from disk (or replaces them if they chaged type)
-Because the correct sub-resource paths are always loaded now, this fixes bugs with subresource folding or subresource ordering when saving.
|
|
SCons: Fix Godot detection in custom modules logic
|
|
`exec()` was not a good idea as it assumes a certain type of `version.py` file
similar to Godot's own file, which is not always a reliable assumption (see
https://github.com/godotengine/godot/pull/43057#issuecomment-777632900).
Also restores Python 2 support for the 3.2 branch.
|
|
Allow to pass varying from fragment to light shader function
|
|
Fix broken gdnative variant test
|
|
|
|
|
|
[HTML5] Editor: ensure canvas focus when switching tabs.
|
|
Add Unit Tests for Variant Class
|
|
Update GraphEdit when GraphNode's slot is updated
|
|
|
|
|
|
Improve EditorImportPlugin docs.
|
|
Fix StringName type checks in other `_rpc*_bind` methods.
|
|
According to the docs at
https://docs.godotengine.org/en/stable/tutorials/plugins/editor/import_plugins.html#the-editorimportplugin-class
> The get_visible_name() method is responsible for returning the name of
> the type it imports and it will be shown to the user in the Import dock.
> You should choose this name as a continuation to "Import as", e.g.
> "Import as Silly Material"
I've verified Godot's behavior reflects this, so the code examples
should reflect this.
Also document propagating save error in EditorImportPlugin.
It seems that the suggested code ignores any error from
`ResourceSaver.save`, but I think we should return it.
|
|
Improve GDNative API and JSON generation further
|
|
[HTML5] Fix HTTPClient request_raw.
|
|
[HTML5] Fix web editor "clear persistent data".
|
|
[HTML5] Handle contextmenu, webglcontextlost internally.
|
|
Now send data according to the spec, properly handle null data.
Simplify JS code since we are at it.
|
|
Was broken after update to new persistent path "/home/web_user".
|
|
This way they are automatically cleaned up when the engine exits,
landing a hand to browsers garbage collectors.
|
|
Code diverged too much, removing disabled code too as it's unlikely it
can be reused now.
|
|
Removed _change_notify(property)
|
|
-For inspector refresh, the inspector now detects if a property change by polling a few times per second and then does update the control if so. This process is very cheap.
-For property list refresh, a new signal (property_list_changed) was added to Object. _change_notify() is replaced by notify_property_list_changed()
-Changed all objects using the old method to the signal, or just deleted the calls to _change_notify(<property>) since they are unnecesary now.
|
|
Initialize class variables with default values in scene/ [2/2]
|
|
Cylinder support in Godot Physics 3D
|
|
|
|
Cylinder collision detection uses a mix of SAT and GJKEPA.
GJKEPA is used to find the best separation axis in cases where finding
it analytically is too complex.
Changes in SAT solver:
Added support for generating separation axes for cylinder shape.
Added support for generating contact points with circle feature.
Changes in GJKEPA solver:
Updated from latest Bullet version which includes EPA fixes in some
scenarios.
Setting a lower EPA_ACCURACY to fix accuracy problems with cylinder vs.
cylinder in some cases.
|
|
Make Servers truly Thread Safe
|