summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2021-12-17add 2d scale factor propertyAnsraer
2021-12-16Merge pull request #55747 from timothyqiu/editor-proxyFabio Alessandrelli
Add proxy support for the editor
2021-12-13Added check for SceneTree being nullvitika9
2021-12-12Fix bad mouse offset to show tooltips in Treejmb462
2021-12-09Replace String comparisons with "", String() to is_empty()Nathan Franke
Also: - Adds two stress tests to test_string.h - Changes to .empty() on std::strings
2021-12-09align to horizontal_alignment, valign to vertical_alignment, relatedNathan Franke
2021-12-09Add proxy support for the editorHaoyu Qiu
* Adds proxy support for `HTTPRequest`. * Adds `network/http_proxy/{host,port}` editor settings. * Labeled as "HTTP Proxy" and it will be used for both HTTP and HTTPS requests. This is the same convention as seen in Android Studio's proxy settings. * Makes Asset Library and Export Template Manager use proxy according to the editor settings.
2021-12-06Merge pull request #55659 from timothyqiu/boomRémi Verschelde
Fix crash when `update()` is called inside `_draw()`
2021-12-06Fix bad popups offset in editor with single window offjmb462
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com> Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06Fix crash when update() is called inside _draw()Haoyu Qiu
2021-12-03Fix mouse cursor and notification for force draggingHaoyu Qiu
2021-11-30Merge pull request #55486 from nekomatata/physics-contacts-debugRémi Verschelde
2021-11-30Fix physics 2D/3D contact points renderingPouleyKetchoupp
Physics internal process was removed by mistake, it's needed for contact points to be updated each frame. Fixed some multimesh parameters to allow 3D contact points to be drawn, although it's still not working well in 3D as only some of the contact points are drawn, and some of them keep being drawn when the number of visible instances drops to 0 instead of hiding them all.
2021-11-29Don't show tooltips for paused controlskobewi
2021-11-25Merge pull request #52387 from Calinou/node-rename-path-changed-notificationMax Hilbrunner
Rename Node's `NOTIFICATION_PATH_CHANGED` to `NOTIFICATION_PATH_RENAMED`
2021-11-24Merge pull request #51679 from Je06jm/fsrRémi Verschelde
AMD FidelityFX Super Resolution
2021-11-23Rename `remove()` to `remove_at()` when removing by indexLightning_A
2021-11-23Implemented AMD's FSR as a computer shader for upscaling 3D scenesJe06jm
2021-11-22Merge pull request #55151 from Chaosus/control_reset_sizeRémi Verschelde
2021-11-22Added `reset_size` method to `Control` and `Window` classesYuri Roubinsky
2021-11-22Merge pull request #54339 from ConteZero/line_edit_drag_and_dropRémi Verschelde
2021-11-16Merge pull request #54167 from ↵Rémi Verschelde
brunosxs/fix-game-crash-when-sending-a-notification-from-a-camera-class
2021-11-15Fix drag and drop on LineEditConteZero
2021-11-12Use "enum class" for input enumsAaron Franke
2021-11-10Update editor description property flagmegalobyte
2021-11-08Merge pull request #52943 from RandomShaper/property_pin_control_naturalRémi Verschelde
2021-11-08Add property value pinningPedro J. Estébanez
2021-11-07Fix preview sun and environment nameskobewi
2021-11-05Merge pull request #54573 from nekomatata/query-parametersRémi Verschelde
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-03Merge pull request #54072 from KoBeWi/hrcr_is_dedRémi Verschelde
2021-11-01Merge pull request #54369 from S0yKaf/fix-hardcoded-ray-distanceRémi Verschelde
Fix hardcoded raycast distance in viewport object picking
2021-10-28fix hardcoded raycast distance with viewport object pickingvdyotte
having the raycast distance hardcoded to `10000` caused input events to not be registered in very large 3D scenes. This resolves the issue by using the cameras far distance instead. Creating the more predictable behavior of if an object is visible, it will be picked by the viewport. resolves: #49735
2021-10-28Fix off by one in Viewport.render_target_update_mode property enumLyuma
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-28Remove node_hrcr hackkobewi
2021-10-25Ignore empty Font resources as theme override.bruvzg
Add range hint to font_size properties. Remove excessive `base_size` Font property.
2021-10-23Fixes a game crash caused by instantiating Camera2D and sending a ↵BrunoSXS
notification from it before adding it to the tree.
2021-10-22Merge pull request #54088 from madmiraal/remove-unimplemented-methodsRémi Verschelde
2021-10-21Fix potential nullptr dereference in CanvasLayerSean Kim
* Changed another instance of ERR_FAIL_COND in the same file to ERR_FAIL_NULL_MSG instead. * Checked for potential access of the viewport pointer elsewhere in same file. Fixes #54098
2021-10-21Remove unimplemented methodsMarcel Admiraal
2021-10-20Fix errors in mouse detection when removing collision object from treePouleyKetchoupp
Now behaves the same way as ui elements, mouse exit is skipped when the object is removed from the tree.
2021-10-11Merge pull request #53630 from timothyqiu/viewport-recursionRémi Verschelde
2021-10-10Fix Viewport::handle_input_locally related infinite recursionHaoyu Qiu
2021-10-09Executing AcceptDialog.push_input no longer crashesmashumafi
2021-10-09Add a warning for Timer nodes with very low wait timesHugo Locurcio
Very low wait times behave in unpredictable ways depending on the rendered frame rate. This is because the timeout signal is only emitted once per rendered frame (or physics frame, depending on the timer's process mode).
2021-10-09Fix missing argument names in bindingsRémi Verschelde
While at it, tweak some boolean setters to use `p_enabled` for the bool. Also renames `draw_minimap()` to `set_draw_minimap()`.
2021-10-08Allow any floating-point value as a 3D rendering scale optionHugo Locurcio
This allows for finer control over 3D rendering resolution. Supersampling can also be performed by setting a 3D rendering resolution above 1.0, which is useful for offline rendering or for very high-end GPUs.
2021-10-08Delete objects enqueued for deletion during SceneTree destructionkleonc