aboutsummaryrefslogtreecommitdiff
path: root/scene
Commit message (Collapse)AuthorAgeFilesLines
* Fix #8617 WindowDialog with custom panel background crashes godotMarc Gilleron2017-05-021-12/+16
|
* Move other lone thirdparty files to thirdparty/miscRémi Verschelde2017-04-288-5308/+21
| | | | | Also move Box2D ConvexDecomposition contrib code to thirdparty/b2d_convexdecomp.
* Move core thirdparty files to thirdparty/{minizip,misc}Rémi Verschelde2017-04-282-2/+7
|
* Fix theme_data.h formatting via make_header.pyRémi Verschelde2017-04-272-352/+232
| | | | Should make clang-format happy.
* Merge pull request #8520 from Hinsbart/tree_tooltipsRémi Verschelde2017-04-272-3/+19
|\ | | | | Tree: Ability to add tooltips to TreeItem buttons.
| * Tree: Ability to add tooltips to TreeItem buttons.Andreas Haas2017-04-262-3/+19
| | | | | | | | Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
* | Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-27168-352/+5315
|/
* Revert " 3.0 recompute_aabb on add_surface"Ramesh Ravone2017-04-261-2/+0
|
* Merge pull request #8538 from RameshRavone/patch-7Rémi Verschelde2017-04-261-0/+2
|\ | | | | 3.0 recompute_aabb on add_surface
| * 3.0 recompute_aabb on add_surfaceRamesh Ravone2017-04-261-0/+2
| |
* | Fix auto_accept_quit option to workvolzhs2017-04-251-2/+2
|/ | | | | auto_accept_quit value is set first properly with GLOBAL_DEF("application/auto_accept_quit", true) in main.cpp after that it's reset to true in SceneTree:init() whatever value was.
* Merge pull request #8509 from nunodonato/fixspatialmaterialRémi Verschelde2017-04-241-4/+4
|\ | | | | Fixed #8102, by renaming FixedSpatialMaterial to SpatialMaterial
| * Fixed #8102, by renaming FixedSpatialMaterial to SpatialMaterialNuno Donato2017-04-241-4/+4
| |
* | Merge pull request #8408 from 20kdc/bugfix-kine-masRémi Verschelde2017-04-241-1/+1
|\ \ | | | | | | Apply is_ceiling/is_wall swap fix to 2D move_and_slide
| * | Apply is_ceiling/is_wall swap fix to 2D move_and_slide (minus explaination)gamemanj2017-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | As it turns out, is_ceiling would be true when hitting a wall, and is_wall would be true momentarily when hitting a ceiling. This makes a tiny one-line change to fix that. Without trying to explain the code for anyone else having to mess around with it.
* | | Merge pull request #8395 from 20kdc/masterRémi Verschelde2017-04-242-0/+141
|\ \ \ | | | | | | | | Ported move_and_slide to KinematicBody (3D)
| * | | Ported/fixed move_and_slide to KinematicBody (3D+floor/ceiling args)20kdc2017-04-212-0/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This version of the commit has the on_ceiling/on_wall fix without any explaination of that code, since apparently it wasn't complicated enough. As for the notes at the top of the function, they're still there. move_and_slide is rather useful for character-controllers, etc. It reduces the amount of boilerplate code. Not having move_and_slide makes the APIs somewhat inconsistent. (It might be nice to figure out a way to share the code between the two move_and_slide implementations, but that's for someone who knows what the policy is on shared code like that.)
* | | | Merge pull request #8343 from volzhs/prevent_uncheckRémi Verschelde2017-04-241-0/+2
|\ \ \ \ | | | | | | | | | | Prevent to uncheck selected item with button group
| * | | | Prevent to uncheck selected item with button groupvolzhs2017-04-101-0/+2
| | | | |
* | | | | Merge pull request #8277 from tagcup/math_checksRémi Verschelde2017-04-241-2/+2
|\ \ \ \ \ | |_|_|_|/ |/| | | | Added various functions basic math classes. Also enabled math checks …
| * | | | Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn2017-04-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
* | | | | Merge pull request #8102 from bd339/iss3172Rémi Verschelde2017-04-242-0/+93
|\ \ \ \ \ | | | | | | | | | | | | Show 3D raycasts when debugging collisions
| * | | | | Show 3D raycasts when debugging collisionsBenjamin Dahse2017-03-302-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Represent a raycast by a line segment using the direction and magnitude of the cast_to vector. The entire line segment will become red while a collision occurs.
* | | | | | Fix property warnings and hide some debug printsRémi Verschelde2017-04-231-7/+9
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "ALL IS GOOD" was a lie. In particular, removes verbose "path not recognized" false positive. The actual logic is to (somewhat naively) check all ResourceFormatLoaders and to pick the first good match, so no need to warn about the formats that do not match the type hint.
* | | | | Move VERSION_MKSTRING logic to version.hRémi Verschelde2017-04-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a bug where the VERSION_PATCH define is not yet in scope if typedefs.h is included before version.h at compilation time. (cherry picked from commit 3b687c5474113b64f186388883ca85cdfe6523d4)
* | | | | Merge pull request #8417 from neikeq/hello-thereRémi Verschelde2017-04-201-2/+2
|\ \ \ \ \ | | | | | | | | | | | | External editor improvements and fixes
| * | | | | External editor improvements and fixesIgnacio Etcheverry2017-04-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* | | | | | Merge pull request #8376 from RayKoopa/fix_stylebox_expand_marginRémi Verschelde2017-04-203-33/+33
|\ \ \ \ \ \ | | | | | | | | | | | | | | Respect the expand margin for StyleBoxTextures again.
| * | | | | | Respect the expand margin for StyleBoTextures again.Ray Koopa2017-04-133-33/+33
| | | | | | |
* | | | | | | Added support for space indentationPaulb232017-04-182-28/+126
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge pull request #8370 from volzhs/fix-stylebox-masterAndreas Haas2017-04-141-10/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix editor style box for ToolButton
| * | | | | | Fix editor style box for ToolButtonvolzhs2017-04-121-10/+4
| |/ / / / /
* | | | | | Merge pull request #8402 from neikeq/pr-fix-bindsAndreas Haas2017-04-141-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | PackedScene: Fix wrong DEFVAL
| * | | | | PackedScene: Fix wrong DEFVALIgnacio Etcheverry2017-04-141-1/+1
| |/ / / /
* | | | / Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-1021-95/+95
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005
* | | | -Fixed crash with splash screen on windowsJuan Linietsky2017-04-091-1/+1
| | | | | | | | | | | | | | | | -properly show editor without having to resize window on windows
* | | | Merge pull request #8271 from MattUV/masterRémi Verschelde2017-04-092-1/+43
|\ \ \ \ | | | | | | | | | | Add methods to get and set bits of collision layers and masks for TileMaps (3.0)
| * | | | Add set/get_collision_layer/mask_bit() to TileMapsMattUV2017-04-062-1/+43
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add four methods to the TileMap node to make collision layers and masks be modified bit by bit (like PhysicBody2Ds and RayCast2Ds: * set_collision_layer_bit() * set_collision_mask_bit() * get_collision_layer_bit() * get_collision_mask_bit() To comply with collision layers' renaming from https://github.com/godotengine/godot/issues/5696 , the method names are NOT set/get_layer_mask_bit()
* | | | Merge pull request #8321 from RandomShaper/zero-preprocess-particles2dRémi Verschelde2017-04-091-1/+1
|\ \ \ \ | | | | | | | | | | Allow zero preprocess time for Particles2D
| * | | | Allow zero preprocess time for Particles2DPedro J. Estébanez2017-04-081-1/+1
| | | | |
* | | | | Particle system is complete. Rejoice!Juan Linietsky2017-04-082-31/+110
| | | | |
* | | | | Particles2D: Fix flip property (again).Andreas Haas2017-04-091-4/+4
| |_|/ / |/| | | | | | | | | | | should have flipped the dst_rect..
* | | | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-08381-0/+381
| | | |
* | | | Merge pull request #8308 from RandomShaper/optimize-out-debug-n-non-toolsRémi Verschelde2017-04-072-5/+29
|\ \ \ \ | |/ / / |/| | | Optimize-out some debug and/or non-tools methods
| * | | Optimize-out some debug and/or non-tools methodsPedro J. Estébanez2017-04-072-5/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Fix build on older GCC versionsRémi Verschelde2017-04-071-3/+1
| | | | | | | | | | | | | | | | | | | | Travis builds would fail with: ./drivers/gles3/rasterizer_storage_gles3.h:1018:19: error: ISO C++ forbids initialization of member 'fixed_fps' [-fpermissive]
* | | | Merge pull request #8304 from RandomShaper/reset-folded-on-reset-edit-childrenRémi Verschelde2017-04-071-2/+6
|\ \ \ \ | | | | | | | | | | Reset display folded for an instanced scene if editable children is toggled off
| * | | | Reset display folded for an instanced scene if editable children is toggled offPedro J. Estébanez2017-04-071-2/+6
| |/ / / | | | | | | | | | | | | This avoids the display folded flag needlessly getting into the scene file (potentially forever) and also gives more visual feedback if the user re-enables editable children so it will display unfolded at first.
* | | | Add compatibility class for FixedSpatialMaterialRémi Verschelde2017-04-071-0/+1
| | | | | | | | | | | | | | | | Fixes loading existing 3.0-alpha projects broken by 74808ac4d9176180dc7ecace99723edab8a73e0e.
* | | | New particle system, mostly working, some small features missing.Juan Linietsky2017-04-0624-863/+2709
| | | |