summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2017-04-07Optimize-out some debug and/or non-tools methodsPedro J. Estébanez
Collisions and nav debug are conditionally compiled depending on DEBUG_ENABLED is_editor_hint() and is_node_being_edited() are compiled only with TOOLS_ENABLED Every affected method is implemented in the header in case its macro is not present (the getters just returning false and the setters having an empty body) so the compiler can inline and finally no-op-out them as likely as possible. is_node_being_edited() already showed a similar optimization effort and has been adapted to this change. Furthermore, and as a consequence, -debugcol and -debugnav will not work on non-debug (strict release) builds. This can bring a little bit of runtime performance on release and non-tooled builds (less code, so less cycles to spend and maybe more cache friendly).
2017-04-02Viewport: Fix undefined behaviour found by llvm sanitizer.Andreas Haas
When godot was running as the project manager, it tried to call a method on a null pointer (get_tree()->get_edited_scene_root()). This is undefined behaviour and caused a crash when compiled with sanitizing enabled.
2017-03-30Merge pull request #8208 from Shin-NiL/masterRémi Verschelde
Honor the Tween's final values
2017-03-30Honor the Tween's final valuesShin-NiL
2017-03-30Merge pull request #8203 from RandomShaper/add-missing-bindRémi Verschelde
Add missing binding for DUPLICATE_USE_INSTANCING
2017-03-30Add missing binding for DUPLICATE_USE_INSTANCINGPedro J. Estébanez
2017-03-24Merge pull request #8130 from volzhs/cache-font-masterRémi Verschelde
Cache DynamicFont resource for Android
2017-03-24Merge pull request #8010 from AlexHolly/Timer-is_time_leftRémi Verschelde
added Timer is_time_left()
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-24Cache DynamicFont resource for Androidvolzhs
2017-03-19is_active to is_pausedAlexHolly
rm doc
2017-03-18Merge pull request #8037 from RandomShaper/remove-warningRémi Verschelde
Remove warning on owner re-assignment
2017-03-18Merge pull request #8030 from RandomShaper/fix-redundant-connectionsRémi Verschelde
Fix redundant connections saved in sub-inheritance
2017-03-18Merge pull request #8023 from CrazyGuy108/masterRémi Verschelde
List Control::has_point as a virtual method
2017-03-18Merge pull request #8014 from AlexHolly/fix-remove-and-skipRémi Verschelde
fix remove_and_skip()
2017-03-15Merge pull request #8020 from karroffel/class-db-inconsistencyRémi Verschelde
fixed ClassDB inconsistencies
2017-03-15Remove warning on owner re-assignmentPedro J. Estébanez
2017-03-15Fix redundant connections saved in sub-inheritancePedro J. Estébanez
2017-03-14List Control::has_point as a virtual methodCrazyGuy108
According to Issue #8018, a BIND_VMETHOD macro wasn't present in scene/gui/control.cpp, while it was declared to be a virtual method in scene/gui/control.h. classes.xml was updated to also list this method in Control.
2017-03-13fixed ClassDB inconsistenciesKarroffel
fixes #7960
2017-03-13Merge pull request #8019 from Hinsbart/dim_fixRémi Verschelde
WindowDialog: Fix crash when running as ProjectManager
2017-03-13WindowDialog: Fix crash when running as ProjectManagerAndreas Haas
Fixes a bug introduced in #7970
2017-03-13Merge pull request #8011 from neikeq/pr-issue-6602-1Rémi Verschelde
Fix connection errors when replacing node
2017-03-13Merge pull request #7988 from RandomShaper/fix-touch-buttonRémi Verschelde
Several fixes for TouchScreenButton
2017-03-13Merge pull request #7981 from RandomShaper/position-for-2d-shadersRémi Verschelde
Map POSITION to gl_FragCoord.xy for 2D shaders
2017-03-13Merge pull request #7979 from RandomShaper/fix-sub-inheritanceRémi Verschelde
Fix node duplication in scene sub-inheritance
2017-03-12fix remove_and_skip()AlexHolly
2017-03-11Fix connection errors when replacing nodeIgnacio Etcheverry
- Avoid connecting the signals to nonexistent methods - Preserve only persistent connections
2017-03-10Fixes for TouchScreenButtonPedro J. Estébanez
- getting stuck on pause - handling input when not visible
2017-03-09Fix node duplication in scene sub-inheritancePedro J. Estébanez
2017-03-08Map POSITION to gl_FragCoord.xy for 2D shadersPedro J. Estébanez
2017-03-06Editor: Dim UI when a WindowDialog is shown.Andreas Haas
Darkens the editor on WindowDialog popup. This adds the following new Editor settings: - interface/dim_editor_on_dialog_popup (true) # Enable/Disable editor dimming - interface/dim_amount (0.6) # Percentage of how much the editor will be darkened (0-1) - interface/dim_transition_time # The duration (in seconds) of the color blending effect (0-1), 0 is instant. Please test this thoroughly, I haven't yet seen a case where it fails to work properly but I'm sure I didn't test all windows of the editor :P
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
2017-03-05Add a bunch of missing Godot headers in own filesRémi Verschelde
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
2017-03-05Merge pull request #7954 from Hinsbart/tilemap_self_modulateRémi Verschelde
TileMap: Respect self_modulate property
2017-03-05Merge pull request #7916 from RebelliousX/tab_containerRémi Verschelde
TabContainer's signal changes (v3)
2017-03-05TileMap: Respect self_modulate propertyAndreas Haas
Now `TileMap`s make use of the `self_modulate` property. There's still a bug: The Editor doesn't re-draw with the new color when you change the TileMaps `self_modulate` in the inspector. You'll have to make it update manually (by placing a tile, changing the transform, etc..) I'll open an issue for that after this is merged (If I don't fix it in the meantime ^^).
2017-03-05- `tab_changed` signal emits only by selecting a different tab.Thaer Razeq
- Added `tab_selected` signal. Which emits a signal by selecting any tab, if current tab is selected again. - Added `get_previous_tab()`. Which returns the previous shown tab. **Note:** only `tab_changed` can modify previous tab index. - Add documentation for the added function and signals. Fix a typo too.
2017-03-04Merge pull request #7508 from lonesurvivor/area2d-fixRémi Verschelde
Fix two problems with Area2D and remove_child()
2017-03-04Merge pull request #7929 from RayKoopa/editor_resizable_dialogsRémi Verschelde
Resizable editor / project settings dialogs & save their bounds
2017-03-04Merge pull request #7927 from volzhs/wrong-ref-treeitemRémi Verschelde
Fix wrong TreeItem reference after reconstructing
2017-03-04Added a SceneTree.has_network_peer, closes #7922Karol Walasek
2017-03-03Make Editor, Export and Project settings dialogs resizable and store their ↵Ray Koopa
bounds
2017-03-03Fix wrong TreeItem reference after reconstructingvolzhs
2017-03-01Added functionality for resizable dialogs.Ray Koopa
2017-02-28Merge pull request #7878 from RebelliousX/elseRémi Verschelde
Bunch of missing `else` statements and general logic
2017-02-28Inf and NaN support added to GDScript.Saracen
2017-02-28 Various fixes detected using PVS-Studio static analyzer.Thaer Razeq
- Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
2017-02-28Merge pull request #7904 from tagcup/use_math_prngRémi Verschelde
Use the common PRNG in 2D particles code.