summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2021-11-08Merge pull request #54134 from nekomatata/body-center-of-mass-localCamille Mohr-Daurat
Expose local center of mass in physics servers
2021-11-08Expose local center of mass in physics serversPouleyKetchoupp
Center of mass in body's local space is more useful than the transformed one in some cases, like drawing its position for debug. It's especially useful to get the generated local center of mass when in auto mode (by default). Physics Server BODY_PARAM_CENTER_OF_MASS: Now always returns the local center of mass, instead of setting a local center of mass and getting a transformed one. This causes compatibility breaking, but it makes more sense for the parameter to be consistent between getter and setter. Direct Body State: There are now two properties, because both of them can be useful in different situations. center_of_mass: relative position in global coordinates (same as before) center_of_mass_local: position in local coordinates
2021-11-09Merge pull request #46721 from bruvzg/custom_word_break_punctRémi Verschelde
2021-11-09Merge pull request #54372 from bruvzg/text_edit_uiRémi Verschelde
2021-11-08Merge pull request #54486 from ibrahn/thread-work-pool-lazierRémi Verschelde
2021-11-05Rename AABB `get_area` to `get_volume`Brian Semrau
2021-11-05Merge pull request #54642 from BoilingFusion/masterCamille Mohr-Daurat
Fix the volume calculation for cylinders
2021-11-05Merge pull request #54573 from nekomatata/query-parametersRémi Verschelde
2021-11-05Fix the volume calculation for cylindersJulian Adamse
2021-11-05Use Callable in RS::request_frame_drawn_callbackBrian Semrau
2021-11-04Use parameter classes instead of arguments for all physics queriesPouleyKetchoupp
Same as what is already done for shape queries, applied to point and ray queries. Easier to document and more flexible to add more parameters. Also expose intersect_point method to script in 3D. Remove intersect_point_on_canvas in 2D, replaced with a parameter.
2021-11-03Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio
This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
2021-11-01Use `Callable` in Area monitor callbackrafallus
2021-11-01ThreadWorkPool no longer starts worker threads if given zero work.Ibrahn Sahir
2021-11-01Merge pull request #37880 from nekomatata/rigid-body-damping-overrideCamille Mohr-Daurat
Improved RigidDynamicBody linear/angular damping override
2021-11-01Merge pull request #54356 from Chaosus/shader_fix_matrix_autocompletionRémi Verschelde
2021-11-01Merge pull request #54480 from timothyqiu/texture-replaceRémi Verschelde
2021-11-01Fix memory leak when using CurveTexture.set_texture_modeHaoyu Qiu
2021-11-01Merge pull request #54459 from rxlecky/fix-multimesh-buffer-overflow-53603Rémi Verschelde
2021-10-31Fix multimesh buffer overflow in RendererStorageRDSeleckyErik
2021-10-31Merge pull request #54448 from CakHuri/treshold-to-thresholdRémi Verschelde
Repair mistyped of 'threshold' on several files.
2021-10-31Merge pull request #54307 from Calinou/add-opengl-renderer-squashRémi Verschelde
Add OpenGL renderer (squashed)
2021-10-31Repaired mistyped of 'threshold' on several files.M. Huri
2021-10-31Use OpenGL 3.3 core profile instead of compatibility profileClay John
- Rename OpenGL to GLES3 in the source code per community feedback. - The renderer is still exposed as "OpenGL 3" to the user. - Hide renderer selection dropdown until OpenGL support is more mature. - The renderer can still be changed in the Project Settings or using the `--rendering-driver opengl` command line argument. - Remove commented out exporter code. - Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-31Add functions for getting name and font style from dynamic and bitmap fonts.bruvzg
Add font selection toolbar editor plugin.
2021-10-31Merge pull request #54403 from briansemrau/fix-small-fogvolumeRémi Verschelde
FogVolume don't dispatch compute with zero-dimension groups
2021-10-30Don't use Texture image caches if they are rendered toBrian Semrau
2021-10-30Merge pull request #54405 from JFonS/fix_instance_indexRémi Verschelde
Fix instance index in forward clustered shader
2021-10-30Disallow compute dispatch with zero dimensions.Brian Semrau
2021-10-30Fix instance index in forward clustered shaderjfons
2021-10-30Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio
- Use lowercase driver names for the `--rendering-driver` command line argument.
2021-10-30Add GLES2 2D renderer + Linux display managerlawnjelly
First implementation with Linux display manager. - Add single-threaded mode for EditorResourcePreview (needed for OpenGL). Co-authored-by: clayjohn <claynjohn@gmail.com> Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>
2021-10-29Fix error spammed to output if `FogVolume` is setted to sceneYuri Roubinsky
2021-10-29Fix crash when opening a converted `FogMaterial`Yuri Roubinsky
2021-10-28Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28Removed incorrect autocompletion of matrixes in shaderYuri Roubinsky
2021-10-28Merge pull request #54350 from akien-mga/clang-format-dont-align-operandsRémi Verschelde
2021-10-28Merge pull request #54222 from JFonS/instance-fadeRémi Verschelde
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-28Implement TextServer `strip_diacritics` function.bruvzg
2021-10-26Fix shadow disabling on mobile rendererJoan Fons
2021-10-25Improved RigidDynamicBody linear/angular damping overridePouleyKetchoupp
Damping values are now non-negative. Add new properties linear_damp_mode and angular_damp_mode to set the way RigidDynamicBody and PhysicalBone (2D & 3D) use damping values. It can now be Combine (default) to add to the default/areas, or Replace to override the value completely (current behavior).
2021-10-25Refactored Node3D rotation modesreduz
* Made the Basis euler orders indexed via enum. * Node3D has a new rotation_order property to choose Euler rotation order. * Node3D has also a rotation_mode property to choose between Euler, Quaternion and Basis Exposing these modes as well as the order makes Godot a lot friendlier for animators, which can choose the best way to interpolate rotations. The new *Basis* mode makes the (exposed) transform property obsolete, so it was removed (can still be accessed by code of course).
2021-10-25Fix shadow disabling settingsjfons
Fixes the SHADOW_CASTING_SETTING_OFF setting in GeometryInstance3D and the "shadows_disabled" render mode in spatial materials, which were not working before.
2021-10-25Implement distance fade and transparencyJFonS
The built-in ALPHA in spatial shaders comes pre-set with a per-instance transparency value. Multiply by it if you want to keep it. The transparency value of any given GeometryInstance3D is affected by: - Its new "transparency" property. - Its own visiblity range when the new "visibility_range_fade_mode" property is set to "Self". - Its parent visibility range when the parent's fade mode is set to "Dependencies". The "Self" mode will fade-out the instance when reaching the visibility range limits, while the "Dependencies" mode will fade-in its dependencies. Per-instance transparency is only implemented in the forward clustered renderer, support for mobile should be added in the future. Co-authored-by: reduz <reduzio@gmail.com>
2021-10-25Fix state inconsistencies in visibility dependencies.jfons
2021-10-23Merge pull request #54045 from ConteZero/primary_clipboard_linux_fix_warningRémi Verschelde
2021-10-23Fix primary clipboard warningConteZero
2021-10-22Merge pull request #54124 from Uxeron/CenterOfMassRotationFixCamille Mohr-Daurat
Fix physics body rotating incorrectly around it's center of mass