summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2020-02-26Changed float type to int for INDEX visual shader inputYuri Roubinsky
2020-02-26Merge pull request #36536 from Chaosus/vs_intRémi Verschelde
Add support for integer type in visual shaders
2020-02-26Add support for integer type in visual shadersYuri Roubinsky
2020-02-25Added missing destructor for Navigation2DDominik 'dreamsComeTrue' Jasiński
Although destructor call was missing, it still doesn't heal #36537 memory leaks. Further description how that might be overcome - on GitHub Partialy covers #36537
2020-02-25Merge pull request #36532 from Faless/debugger/weakref_crash_vulkanRémi Verschelde
Fix debugger crash inspecting freed object.
2020-02-25Fix debugger crash inspecting freed object.Fabio Alessandrelli
This seems to be the correct way to validate a reference. Why is cast_to failing? Is this the correct way of checking if the object is valid?
2020-02-25Variant: Added 64-bit packed arrays, renamed Variant::REAL to FLOAT.Juan Linietsky
- Renames PackedIntArray to PackedInt32Array. - Renames PackedFloatArray to PackedFloat32Array. - Adds PackedInt64Array and PackedFloat64Array. - Renames Variant::REAL to Variant::FLOAT for consistency. Packed arrays are for storing large amount of data and creating stuff like meshes, buffers. textures, etc. Forcing them to be 64 is a huge waste of memory. That said, many users requested the ability to have 64 bits packed arrays for their games, so this is just an optional added type. For Variant, the float datatype is always 64 bits, and exposed as `float`. We still have `real_t` which is the datatype that can change from 32 to 64 bits depending on a compile flag (not entirely working right now, but that's the idea). It affects math related datatypes and code only. Neither Variant nor PackedArray make use of real_t, which is only intended for math precision, so the term is removed from there to keep only float.
2020-02-24Merge pull request #36488 from Chaosus/capsule_yRémi Verschelde
Changed default capsule axis to vertical
2020-02-23Merge pull request #36089 from dreamsComeTrue/fix-autocomplete-quotesRémi Verschelde
Fix: auto brace complete for quoted strings
2020-02-23Changed default capsule axis to verticalYuri Roubinsky
Co-authored-by: Hugo Locurcio <https://hugo.pro>
2020-02-23Merge pull request #36411 from Janglee123/rect2-tweenRémi Verschelde
Added tween support for Rect2
2020-02-23Added tween support for Rect2janglee
Fixes #34575
2020-02-23Replace FALLTHROUGH macro by C++17 [[fallthrough]]Rémi Verschelde
This attribute is now part of the standard we target so we no longer need compiler-specific hacks. Also enables -Wimplicit-fallthrough for Clang now that we can properly support it. It's already on by default for GCC's -Wextra. Fixes new warnings raised by Clang's -Wimplicit-fallthrough.
2020-02-22Merge pull request #36441 from YeldhamDev/tabs_unused_constantsRémi Verschelde
Remove unused theme constants in Tab(Container)
2020-02-22Remove unused theme constants in Tab(Container)Michael Alexsander
2020-02-21Fix: auto brace complete for quoted stringsDominik 'dreamsComeTrue' Jasiński
Fixes #36002
2020-02-21Merge pull request #36421 from Chaosus/vs_sort_custom_nodsYuri Roubinsky
Refactor node processing in visual shader member dialog
2020-02-21Refactor node processing in visual shader member dialogYuri Roubinsky
2020-02-21Added StringName as a variant type.Juan Linietsky
Also changed all relevant properties defined manually to StringName.
2020-02-21Merge pull request #36415 from reduz/skeleton-skin-namedRémi Verschelde
Add support for named binds in Skin.
2020-02-21Add support for named binds in Skin.Juan Linietsky
Helps better reutilization of skeletons from Maya exported files.
2020-02-21Huge Debugger/EditorDebugger refactor.Fabio Alessandrelli
2020-02-20Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky
objects and made them default.
2020-02-20Merge pull request #36375 from Xrayez/pimpmaps-typosRémi Verschelde
Fix MIMPAMPS typos in constants throughout the engine
2020-02-20Fixes crash when loading StreamTexture from fileHaoyu Qiu
2020-02-20Fix MIMPAMPS typos in constants throughout the engineAndrii Doroshenko (Xrayez)
2020-02-18Fix compilation warnings and re-enable werror=yes on TravisRémi Verschelde
Fix -Wunused-variable, -Wunused-but-set-variable and -Wswitch warnings raised by GCC 8 and 9. Fix -Wunused-function, -Wunused-private-field and -Wtautological-constant-out-of-range-compare raised by Clang. Fix MSVC 2019 warning C4804 (unsafe use of type 'bool' in comparison operation). GCC -Wcpp warnings/Clang -W#warnings (`#warning`) are no longer raising errors and will thus not abort compilation with `werror=yes`. Treat glslang headers are system headers to avoid raising warnings. Re-enables us to build with `werror=yes` on Linux and macOS, thus catching warnings that would be introduced by new code. Fixes #36132.
2020-02-18Added utility functions to the new NavigationServer:Andrea Catania
- Vector3 get_closest_point_to_segment(const Vector3 &p_from, const Vector3 &p_to, const bool &p_use_collision = false); - Vector3 get_closest_point(const Vector3 &p_point); - Vector3 get_closest_point_normal(const Vector3 &p_point); - Object *get_closest_point_owner(const Vector3 &p_point);
2020-02-18Merge pull request #36318 from akien-mga/fix-mono-buildRémi Verschelde
Fix CanvasItem bindings and Mono build
2020-02-18Merge pull request #36317 from godotengine/revert-36182-how_to_text_fileRémi Verschelde
Revert "Remove TextFile from public API"
2020-02-18Fix arguments/default values in CanvasItem bindingsRémi Verschelde
2020-02-18Revert "Remove TextFile from public API"Rémi Verschelde
2020-02-18PoolVector is gone, replaced by VectorJuan Linietsky
Typed `PoolTypeArray` types are now renamed `PackedTypeArray` and are sugar for `Vector<Type>`.
2020-02-17Merge pull request #36229 from dreamsComeTrue/rich-text-label-key-eventsRémi Verschelde
RichTextLabel: proper handling of internal key events
2020-02-17Merge pull request #36233 from WARIO-MDMA/audiostreamplayer-pitch-scaleRémi Verschelde
[AudioStreamPlayer/2D/3D] Reduce the max value of pitch_scale's inspector slider
2020-02-17Fix GDCLASS for Texture2D/TextureLayeredYuri Roubinsky
2020-02-16Fixes memory leak when loading StreamTextureHaoyu Qiu
2020-02-15Changed logic and optimized ObjectID in ObjectDB and Variant, removed RefPtr.Juan Linietsky
2020-02-15Reduce AudioStreamPlayer's pitch_scale max valueWARIO-MDMA
2020-02-15Fix hiding ColorPicker's presets not fully hiding its controlsMichael Alexsander
2020-02-14RichTextLabel: proper handling of internal key eventsDominik 'dreamsComeTrue' Jasiński
Fixes #36211
2020-02-14Fix bind method set_override_exposure_enabled of CameraEffectsHandola
2020-02-14Merge pull request #36182 from KoBeWi/how_to_text_fileRémi Verschelde
Remove TextFile from public API
2020-02-14Remove TextFile from public APITomasz Chabora
2020-02-14Merge pull request #36208 from akien-mga/warningsRémi Verschelde
Fix various GCC compilation warnings after Vulkan merge
2020-02-14Fix various GCC compilation warnings after Vulkan mergeRémi Verschelde
Part of #36132.
2020-02-14Fixes memory leak in NavigationPolygonHaoyu Qiu
2020-02-13Remove more deprecated methods and codeRémi Verschelde
2020-02-13Added virtual method to VisualShaderNodeCustom to enable high-end markYuri Roubinsky
2020-02-12Merge pull request #36145 from akien-mga/remove-deprecated-friction-bounceRémi Verschelde
Remove deprecated PhysicsBody friction and bounce parameters