summaryrefslogtreecommitdiff
path: root/scene/main
AgeCommit message (Collapse)Author
2019-07-01Merge pull request #29980 from Dentrax/directed-by-qarminRémi Verschelde
Fix some editor crashes
2019-07-01fix some crashesFurkan Türkal
2019-07-01Fix HTTPRequest status checks.Fabio Alessandrelli
HTTPRequest used to have its own `status` variable but it would never be updated since the status of the client would be used instead. This caused potential crashes in some edge cases. The `status` variable is now removed, and the client status is used in checks instead.
2019-06-27Add default values to the editor help, docs, and generated RSTBojidar Marinov
Also, make spacing of "=" in the editor help a bit more consistent. Closes #16086
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Node: Fix logic of has/get_node_and_resource and document itRémi Verschelde
Also document NodePath.
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-05-30Merge pull request #26942 from RandomShaper/fix-vp-issuesRémi Verschelde
Fix Viewport and Camera issues
2019-05-28Node::duplicate: Don't set name if original node is namelessRémi Verschelde
In practice this only happens when duplicating a node which is not in the scene tree yet, as nameless nodes get assigned a generated name when added to the scene tree. Fixes #27319.
2019-05-24Merge pull request #29152 from nekomatata/fix-node-rename-tool-scriptRémi Verschelde
Fixed scene tree update after changing node name in tool script
2019-05-24Fixed scene tree update after changing node name in tool scriptPouleyKetchoupp
2019-05-13Implement ability to render viewports directly to screenclayjohn
2019-04-30Merge pull request #24437 from mateusfccp/single_quotes_optionRémi Verschelde
Add settings for single-quotes on completion
2019-04-30Merge pull request #27869 from jean-dao/scenetree_call_groupRémi Verschelde
Fix: use function in SceneTree::call_group
2019-04-29Merge pull request #18992 from aaronfranke/mono-equal-approxRémi Verschelde
[Core] [Mono] Improve and use approximate equality methods
2019-04-25Use approximate equallity methods in many placesAaron Franke
2019-04-25Cancel tooltip when hiding the node it belongs toJames Buck
2019-04-22Merge pull request #27673 from qarmin/small_fixesRémi Verschelde
Small fixes, mostly duplicated code
2019-04-22Merge pull request #28140 from Daw11/orphan-nodesRémi Verschelde
Add a monitor for the orphan nodes
2019-04-20Fix disable_3d=yes -Wunused-variable errorsRémi Verschelde
2019-04-20Object::script may not be a valid Ref<Script>Hein-Pieter van Braam-Stewart
It appears that Object::script may be a valid ScriptInstance but not be castable to Ref<Script>. There were only 5 places in the code that made this assumption. This commit fixes that.
2019-04-17Add a monitor for the orphan nodesDaw11
- Allow the user to keep track of the nodes that might leak - Possible fix for #27103
2019-04-11No more metadata and dependency indices kept in resources saved.Juan Linietsky
-Node folding is now saved externally together with the properties -External resources remember their ID when scenes are saved.
2019-04-10Decrease the default tooltip delay to 0.5 secondsHugo Locurcio
This matches other applications' and OS' tooltip behaviors more closely.
2019-04-09Fix: use function in SceneTree::call_groupJean Dao
When calling call_group from C++, the function name is not passed on to call_group_flags, resulting in first argument being mistakenly used instead of function.
2019-04-08Small fixes, mostly dupicated codeqarmin
2019-04-05Merge pull request #26803 from ptrojahn/emptynodeRémi Verschelde
Make get_node return NULL for empty NodePaths
2019-04-05Ability to make CanvasLayers have pseudo 3D depth.Juan Linietsky
2019-04-04Clean up notifications and merge Node and MainLoop ones for clarity, closes ↵Juan Linietsky
#27614
2019-03-30Drop mouseover when mouse not in the windowPedro J. Estébanez
Not that this is critical, but it makes behavior of GUI and 2D/3D picking consistent among them. This also contributes to dropping GUI focus when the mouse leaves the window (in addition to when it loses focus).
2019-03-30Fix Viewport and Camera issuesPedro J. Estébanez
1. Consider 'own_world' as well as 'world' to stop propagating enter/exit world notifications. 2. Clean & fix handling of camera currency. This fixes some random crashes and error logs in the editor; namely - when enabling/disabling own world in a Viewport; - when switching back from a subscene displayed into a main scene's Viewport; - when exiting the editor after any of them; - memory corruption (can that explain certain other seemingly unrelated crash reports?). This also fixes situations where a Viewport and its main Camera get out of sync about which World is relevant to them.
2019-03-13Merge pull request #26484 from Andrettin/Configurable-Tooltip-OffsetRémi Verschelde
Make the Tooltip Position Offset Configurable
2019-03-09Merge pull request #26851 from RandomShaper/fix-26460-fake-event-floodRémi Verschelde
Fix fake null-motion mouse event flood
2019-03-09Fix fake null-motion mouse event floodPedro J. Estébanez
This commit also improves a bit the code quality by making the intent of fake events (and themselves) more explicit. Fixes #26460.
2019-03-09Fixes UI navigation with joysticksGilles Roudière
2019-03-08Make get_node return NULL for empty NodePathsPaul Trojahn
Fixes #25292
2019-03-05Improve/fix pickingPedro J. Estébanez
Acknowledge mouse button events as position tellers (to make picking more solid; for instance, the touch mouse is raised with a mouse unpressed event that may have a more current position) Forget mouse position for physics if touch mouse raised (because the position known as last is no longer meaningful) Remove needless check for mouse over/exit (now there's code to inject an spurious move for cases where camera/objects have moved) Restrict 2D mouse over/exit to mouse events (including emulated from touch; true touches shouldn't trigger the signals) Fixes #26460.
2019-03-04Update focus mask only if there is a focused control, fixes #26524Juan Linietsky
2019-03-02hide hdr and shadow_contact in gles2clayjohn
2019-03-02Made the tooltip position offset configurableAndrettin
2019-02-22Added a workaround to avoid crashes due to how TileSet editor works, fixes ↵Juan Linietsky
#23672 Also fixed a few uninitialized memory variables.
2019-02-20Add -Wshadow=local to warnings and fix reported issues.marxin
Fixes #25316.
2019-02-14Fix possible crash with an invalid last_mouse_focus pointerMarcelo Fernandez
2019-02-13Fix typos with codespellRémi Verschelde
Using codespell 1.14.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang doubleclick lod nd numer que te unselect EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-02-12Scene: Ensure classes match their header filenameRémi Verschelde
Also drop some unused files. Renamed: - `scene/2d/navigation2d.h` -> `navigation_2d.h` - `scene/2d/screen_button.h` -> `touch_screen_button.h` - `scene/3d/scenario_fx.h` -> `world_environment.h` - `scene/audio/audio_player.h` -> `audio_stream_player.h` - `scene/resources/bit_mask.h` -> `bit_map.h` - `scene/resources/color_ramp.h` -> `gradient.h` - `scene/resources/shape_line_2d.h` -> `line_shape_2d.h` - `scene/resources/scene_format_text.h` -> `resource_format_text.h` - `scene/resources/sky_box.h` -> `sky.h` Dropped: - `scene/resources/bounds.h`
2019-02-08Merge pull request #25524 from Calinou/fix-font-oversampling-warningRémi Verschelde
Fix a font oversampling warning being printed when it shouldn't