Commit graph

1922 commits

Author SHA1 Message Date
Juan Linietsky
afcce9eb12 -Fix the "set_val" call deferred, it was the only one.. closes #8742
-Removed redundant bind in input_event
2017-05-23 09:06:22 -03:00
Juan Linietsky
d093b78f12 Fix stex import into black textures when lossless and lossy are selected, closes #8801 2017-05-23 08:55:32 -03:00
Rémi Verschelde
a6122ce68b Merge pull request #8862 from volzhs/editor-theme-margin
Fit grid with label and component of editor
2017-05-22 15:16:57 +02:00
volzhs
a2ad2eedbb Fit grid with label and component of editor 2017-05-22 20:25:19 +09:00
Rémi Verschelde
0964129a10 Merge pull request #8832 from Zireael07/vehicle-improvs-master
Expose wheel's contact to GDScript and set roll influence in editor [3.0]
2017-05-22 07:50:34 +02:00
toger5
955615a3c3 fixed crash when dragging to change color in color picker 2017-05-21 19:11:11 -07:00
Juan Linietsky
5b3709d309 Removal of InputEvent as built-in Variant type..
this might cause bugs I haven't found yet..
2017-05-20 17:05:38 -03:00
Zireael07
c82c5a2e56 GDScript can now tell if the wheel is in contact with the ground; change roll influence of the wheel in editor 2017-05-20 12:42:09 +02:00
Rémi Verschelde
869d6b1d33 Merge pull request #8818 from tagcup/mesh_methods
GDScript bindings for various missing Mesh functions.
2017-05-20 09:48:36 +02:00
Rémi Verschelde
67389d4db7 Merge pull request #8844 from Hinsbart/audioplayer-crash
Fix crash when saving AudioPlayer without stream.
2017-05-20 07:34:59 +02:00
Rémi Verschelde
231511b2a6 Merge pull request #8631 from volzhs/editor-theme-custom
New customizable editor theme
2017-05-20 07:16:11 +02:00
Andreas Haas
02aa1dd600
Fix crash when saving AudioPlayer without stream.
Guards against calling this setter with invalid input.
2017-05-20 03:49:54 +02:00
Ferenc Arn
f2a335d0c1 GDScript bindings for various missing Mesh functions.
Fixes #8041.
2017-05-18 16:29:17 -05:00
Rémi Verschelde
a75623f436 Merge pull request #8796 from yanorax/treecolumn_title_pressed
Add column_title_pressed signal to Tree node
2017-05-18 19:06:25 +02:00
yanorax
7b00ad22b9 Add column_title_pressed signal to Tree node
The Tree node column/table form is missing the ability to
capture column title clicks easily.

Adding this functionality will give us the ability to
create functions such as sort by column, which is a common
table manipulation ability in games/apps.

https://godotengine.org/qa/7699
2017-05-18 13:12:27 +10:00
Rémi Verschelde
c3baf5eb3c Fix two typos from previous commit
Also cleanup comments on variant types.
2017-05-17 18:45:56 +02:00
Juan Linietsky
98a3296702 Removal of Image from Variant, converted to a Resource. 2017-05-17 07:37:45 -03:00
Rémi Verschelde
d801ff2b3d Merge pull request #8778 from honix/master
Particles potential crash fix 2
2017-05-16 16:34:37 +02:00
honix
73385e362b Particles potential crash fix 2 2017-05-16 16:24:33 +03:00
Rémi Verschelde
27dd415196 Merge pull request #8759 from AlexHoratio/master
Fixed #8526, popup menu width now responds to submenu icon
2017-05-15 08:00:50 +02:00
AlexHoratio
69359f2220 Fixed #8526, popup menu width now responds to submenu icon 2017-05-14 18:55:55 +01:00
Damian Day
f2564ca97f Fix natural sorting order in EditorFileDialog, FileDialog and EditorFileSystemDirectory
Make EditorFileDialog, FileDialog and EditorFileSystemDirectory alphanumerical sorting more natural

Added a new method 'naturalnocasecmp_to' and comparator 'NaturalNoCaseComparator' to String.

Fixes #8712.
2017-05-12 13:02:25 +01:00
volzhs
bb81293047 New customizable editor theme 2017-05-09 17:46:54 +09:00
Poommetee Ketson
64879e592b RayCast2D: fix detached arrow tip 2017-05-08 16:12:40 +07:00
toger5
304a1f5b5a Implemented scrolling factor for smooth trackpad scrolling
Working platforms platform: OSX, Windows.
Support for almost all ui elements, including project list.
2017-05-07 14:23:56 +02:00
Fabio Alessandrelli
a5ce7a98cb Fix bug in pause mode propagation
Pause mode was not correctly propagating effectively stopping
immediately when the mode was not PAUSE_MODE_INHERIT.
2017-05-06 02:37:17 +02:00
Andreas Haas
def41b9856
Tree: Clear search string on selection.
The Tree node has the ability to jump to a specific item by typing the first few chars of it's name.
But on selection ('item_activated' signal), it didn't clear the search string used for that. It was especially annoying in `FileDialog`s and has been bugging me for
ages :P

With this, you can traverse a directory structure in a FileDiag quickly with the keyboard (like you'd expect from pretty much any modern file browser) :)
2017-05-04 22:08:09 +02:00
Poommetee Ketson
e64c473bc9 LineEdit: fix placeholder text affected by secret 2017-05-03 19:23:36 +07:00
volzhs
17e8e343fb Revert "Add new editor and default theme (WIP)"
This reverts commit f045efe007.
2017-05-03 06:19:15 +09:00
Marc Gilleron
d78efddbf5 Fix #8617 WindowDialog with custom panel background crashes godot 2017-05-02 02:18:50 +02:00
Rémi Verschelde
d4029aa51a Move other lone thirdparty files to thirdparty/misc
Also move Box2D ConvexDecomposition contrib code to
thirdparty/b2d_convexdecomp.
2017-04-28 21:19:25 +02:00
Rémi Verschelde
2398eb6ed4 Move core thirdparty files to thirdparty/{minizip,misc} 2017-04-28 21:19:23 +02:00
Rémi Verschelde
5f15f03d38 Fix theme_data.h formatting via make_header.py
Should make clang-format happy.
2017-04-27 08:58:11 +02:00
Rémi Verschelde
2feb24953c Merge pull request #8520 from Hinsbart/tree_tooltips
Tree: Ability to add tooltips to TreeItem buttons.
2017-04-27 08:10:11 +02:00
Daniel J. Ramirez
f045efe007 Add new editor and default theme (WIP) 2017-04-27 08:04:57 +02:00
Andreas Haas
29999942a2
Tree: Ability to add tooltips to TreeItem buttons.
Adds a tooltip parameter to `TreeItem::add_button()` and set a few tooltips in the Project settings and SceneTree dock.
2017-04-26 19:14:35 +02:00
Ramesh Ravone
cc973b461b Revert " 3.0 recompute_aabb on add_surface" 2017-04-26 13:18:01 +05:30
Rémi Verschelde
ffbe6660cf Merge pull request #8538 from RameshRavone/patch-7
3.0 recompute_aabb on add_surface
2017-04-26 08:57:10 +02:00
Ramesh Ravone
930ad8fc8c
3.0 recompute_aabb on add_surface 2017-04-26 07:57:13 +05:30
volzhs
de4267fc99 Fix auto_accept_quit option to work
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.
2017-04-25 20:05:22 +09:00
Rémi Verschelde
b6e0eaf3ca Merge pull request #8509 from nunodonato/fixspatialmaterial
Fixed #8102, by renaming FixedSpatialMaterial to SpatialMaterial
2017-04-24 12:05:43 +02:00
Rémi Verschelde
8032dd18dd Merge pull request #8408 from 20kdc/bugfix-kine-mas
Apply is_ceiling/is_wall swap fix to 2D move_and_slide
2017-04-24 11:25:08 +02:00
Nuno Donato
c1e771dfe9 Fixed #8102, by renaming FixedSpatialMaterial to SpatialMaterial 2017-04-24 10:20:32 +01:00
Rémi Verschelde
05d35bb156 Merge pull request #8395 from 20kdc/master
Ported move_and_slide to KinematicBody (3D)
2017-04-24 11:20:10 +02:00
Rémi Verschelde
5939a9b8e8 Merge pull request #8343 from volzhs/prevent_uncheck
Prevent to uncheck selected item with button group
2017-04-24 11:19:14 +02:00
Rémi Verschelde
5ae1e172da Merge pull request #8277 from tagcup/math_checks
Added various functions basic math classes. Also enabled math checks …
2017-04-24 11:16:20 +02:00
Rémi Verschelde
90ef1fd03d Merge pull request #8102 from bd339/iss3172
Show 3D raycasts when debugging collisions
2017-04-24 11:11:04 +02:00
Rémi Verschelde
515f92d03b Fix property warnings and hide some debug prints
"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.
2017-04-23 11:17:32 +02:00
20kdc
e2df5d661d Ported/fixed move_and_slide to KinematicBody (3D+floor/ceiling args)
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.)
2017-04-21 21:19:41 +01:00
Rémi Verschelde
99529fb80d Move VERSION_MKSTRING logic to version.h
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 3b687c5474)
2017-04-20 12:14:34 +02:00