Commit Graph

28478 Commits

Author SHA1 Message Date
Rémi Verschelde f99b630993 Load main scene if defined when running editor from the command line
If no main scene is defined, or if it's an empty string, the previous behaviour will still be used, i.e. launch the project manager.
A small fix was also added not to maximize the window when opening the project manager via -editor (i.e. "godot" and "godot -e" will behave the same when no project is in the path).

Fixes #2869.
2015-11-22 17:36:03 +01:00
Franklin Sobrinho e956677f44 Better PropertyEditor search 2015-11-22 13:05:55 -03:00
neikeq 9797b6374b Popup submenu position enhancement 2015-11-22 15:53:22 +01:00
Rémi Verschelde e57dfe2663 Update doc for can_teleport_to 2015-11-22 14:21:04 +01:00
Rémi Verschelde f33d9dab5b Fix can_move_to and rename it for more clarity
Fixes #2416.
The KinematicBody::can_move_to function was likely designed for two behaviours:
 - discrete: check if the body can "teleport" to the destination
 - continuous: check if the direct path to the destination is valid
The continuous behaviour was however not implemented, and the discrete behaviour was broken too due to a wrong call to intersect_shape.

The discrete behaviour has thus been fixed and the function renamed to can_teleport_to for more clarity.
2015-11-22 14:14:07 +01:00
Juan Linietsky bcf4aded9a Merge pull request #2859 from TheHX/property_editor
Implement name filter for PropertyEditor
2015-11-22 08:31:18 -03:00
hurikhan 49f4ec2b71 Added additional token checks for the shader if..else.. statement. Fixes issue #2791. 2015-11-22 13:49:58 +08:00
Juan Linietsky 265f7ba4e5 Merge pull request #2862 from mikica1986vee/Godot_Tegra_3_fix
Tegra 3 fix
2015-11-21 19:27:01 -03:00
mikica1986vee d6b317a2c1 tegra 3 fix 2015-11-21 23:21:36 +01:00
Franklin Sobrinho 82c8190013 Implement name filter to PropertyEditor
- Add search bar to Inspector tab and to Project and Editor settings dialog
2015-11-21 13:42:15 -03:00
Rémi Verschelde 0b07d16fef Merge pull request #2838 from akien-mga/demos-icons
Additional demos icons
2015-11-21 16:22:42 +01:00
Franklin Sobrinho 5ef23812ac Add more properties to AcceptDialog 2015-11-20 18:25:01 -03:00
Anton Yabchinskiy b14c90801f Disable X11 joystick functions also for OpenBSD 2015-11-20 23:36:34 +03:00
Anton Yabchinskiy 523e64d30b Include string.h for memset() on OpenBSD 2015-11-20 23:36:14 +03:00
Anton Yabchinskiy 52f1bab6d5 Include stdlib.h for alloca() on OpenBSD 2015-11-20 23:35:53 +03:00
Anton Yabchinskiy 0931eed7be Enable ALSA only for Linux 2015-11-20 23:35:19 +03:00
Rémi Verschelde dd09f13f68 Merge pull request #2847 from akien-mga/pr-sync-doc
Sync doc template with code
2015-11-20 18:48:17 +01:00
Rémi Verschelde 0c8dda80ff Update Vector2.angle() description 2015-11-20 18:47:18 +01:00
Rémi Verschelde 497efa720c Sync doc template with code 2015-11-20 18:39:23 +01:00
Rémi Verschelde cae515f3fa Merge pull request #2846 from Ovnuniarchos/DocShapes2D
Documented 2D collision shapes and their editors
2015-11-20 18:36:22 +01:00
Ovnuniarchos 8c0c46c2ae Inserted explanation about the behaviour of CollsionPolygon2D.set_polygon. 2015-11-20 18:24:28 +01:00
Ovnuniarchos 68a0f713b8 Differences between ConvexPolygon2D and ConcavePolygon2D? 2015-11-20 18:09:31 +01:00
Ovnuniarchos 1155ac884c ConvexPolygonShape2D.set_point_cloud documented to do nothing. 2015-11-20 18:09:31 +01:00
Ovnuniarchos 73a80e5509 Added definition of bias solver. 2015-11-20 18:09:31 +01:00
Juan Linietsky cf3ae61a7f Merge pull request #2825 from StraToN/fix-tabclose-confirmation
Ask confirmation on closing a scene tab
2015-11-20 08:17:53 -03:00
masoud bh 6277fe3078 add priority to load binaryname.pck 2015-11-20 12:47:55 +03:30
masoud bh 6f718228d4 Load binaryname.pck
if not found data.pck search for binaryname.pck in linux and windows
2015-11-20 12:47:55 +03:30
Juan Linietsky 85eedffbc7 Merge pull request #2842 from eska014/fix-help-display
Fix help display
2015-11-19 21:43:20 -03:00
eska fa12ab8f02 Fix help display 2015-11-20 01:12:29 +01:00
Saracen 2cc52bc3ff Modification to GUI in 3D demo to show resolved viewport clipping bug and small fix to bug causing viewport clipping to be inverted. 2015-11-19 23:47:25 +00:00
Rémi Verschelde f7e4c4e359 Fix call to _snprintf on GCC
Was a regression from ddbf2ff.
This commit also introduce a "#define snprintf _snprintf", so the rest of the file was simplified to make use of this
instead of distinguishing between snprintf and _snprintf in the various functions.
2015-11-20 00:30:35 +01:00
Juan Linietsky 2769da7744 compile fixes 2015-11-19 20:24:43 -03:00
Juan Linietsky f858adf150 -small fix to avoid warnings 2015-11-19 20:24:43 -03:00
Juan Linietsky b519e32e66 Merge pull request #2840 from godotengine/revert-903-libao
Revert "libao audio driver"
2015-11-19 20:05:37 -03:00
Juan Linietsky dd09215c90 Revert "libao audio driver" 2015-11-19 20:05:26 -03:00
Rémi Verschelde 9d22501630 Add icons to all demos that can have a meaningful one 2015-11-19 23:45:37 +01:00
Rémi Verschelde e393e66a94 Rename polygon_path_finder demo and add icon 2015-11-19 23:45:37 +01:00
Juan Linietsky 06d842566c Merge pull request #2830 from Ovnuniarchos/ShapeLine2DXPolygonEditor
Corrections to #2808 (2D shapes editor update)
2015-11-19 19:35:18 -03:00
Juan Linietsky dccbd3b4f8 Merge pull request #2831 from neikeq/select_menu_patch
Show select menu on button pressed (instead of released)
2015-11-19 19:34:50 -03:00
Juan Linietsky 6127f17368 Merge pull request #2756 from trond/bugfix_udp
UDP fixes
2015-11-19 19:33:04 -03:00
Juan Linietsky 2b1a482612 Merge pull request #2837 from AlexHolly/fix-restart-on-running
fix with refactoring, refresh re-run icon
2015-11-19 19:32:24 -03:00
Juan Linietsky 43ce972ddb Merge pull request #903 from a12n/libao
libao audio driver
2015-11-19 19:31:56 -03:00
Ariel Manzur 0f71c90ff3 Merge branch 'master' of https://github.com/okamstudio/godot 2015-11-19 18:10:49 -03:00
Ariel Manzur ddbf2ffd1d fix compile error in some msvc version (snprintf not found) 2015-11-19 18:09:57 -03:00
Alexander Holland 5ee443bcc0 fix with refactoring, refrash re-run icon 2015-11-19 21:06:49 +01:00
Trond Abusdal a8a2458f0b Fixed mistake where available buffer size would not be updated for each recvfrom-call in PacketPeerUDPWinsockPposix. 2015-11-19 19:06:01 +01:00
Rémi Verschelde b89aec5fbe Merge pull request #2835 from akien-mga/pr-readme-wiki
Change wiki links to point to OpenProject website
2015-11-19 18:38:20 +01:00
Rémi Verschelde 295d38c755 Change wiki links to point to OpenProject website 2015-11-19 18:37:03 +01:00
Ovnuniarchos 1396ae274a get_handle_value implemented for LINE_SHAPE. Normal length normalized. 2015-11-19 16:13:45 +01:00
Juan Linietsky f2727b8dd2 Merge pull request #2827 from ZuBsPaCe/error-log-colors-windows
Improved error log colours in the Windows terminal
2015-11-19 11:51:36 -03:00