Commit graph

946 commits

Author SHA1 Message Date
Josh Grams 830947feaf AnimationTreePlayer: distinguish value tracks.
If the node had a 3D Transform, the transform would always get written,
even if the tracks on that node were supposed to be value tracks.

(cherry picked from commit 2fa200ff53)
2016-04-02 22:00:40 +02:00
Josh Grams 60e4cfbcb7 TimeScale node: scale return value (time remaining).
(cherry picked from commit 2e1b1234a3)
2016-04-02 21:59:07 +02:00
Paulb23 da356eca0f Enabled scrolling past end of file
(cherry picked from commit f19eea2f2d)
2016-04-02 21:57:10 +02:00
Franklin Sobrinho edb3716da7 Fix Sprite doesn't updating region_rect value in certain conditions
(cherry picked from commit 1d188c1c7b)
2016-03-06 09:48:20 +01:00
Martin Chuckeles 848c7378fd Add editor settings for call hint placement
Added settings: text_editor/put_callhint_tooltip_below_current_line
and text_editor/callhint_tooltip_offset

(cherry picked from commit 47206b409d)
2016-03-05 12:58:01 +01:00
Martin Chuckeles 4b2fcabb74 Hide hint if completion is active
(cherry picked from commit 26cc14e839)
2016-03-05 12:57:56 +01:00
Martin Chuckeles cb7693c533 Move the call hint under the current line
(cherry picked from commit 03025f60b6)
2016-03-05 12:57:52 +01:00
Josh Grams bea8e1654e AnimationTreePlayer (Blend3): process all inputs.
Always call _process_node on all three inputs so that looped animations
don't get out of sync.

(cherry picked from commit b79351aa45)
2016-03-05 12:55:54 +01:00
Josh Grams cafcdb015d AnimationTreePlayer: blend value tracks (closes #2299)
Variant:
- zero() sets a Variant to the appropriate type of zero value
- blend() blends part of one Variant on top of another.

(cherry picked from commit 391ce81c5e)
2016-03-05 12:55:43 +01:00
Juan Linietsky aa94ff6dae fix transform localization event in mouse motion
(cherry picked from commit 08e0e64a19)
2016-02-29 09:00:14 +01:00
eska 104e008b56 Fix missing dependency resolver in Windows 2016-02-21 22:51:19 +01:00
Juan Linietsky b91b89cf60 Add support for placeholders in tscn, which was missing. Closes #3652 2016-02-21 11:18:31 -03:00
Juan Linietsky c04a9ff751 -Fixed bug with event player crashing, closes #3687 2016-02-20 21:00:08 -03:00
Juan Linietsky 70cdfa681a -Change link to new documentation
-fixed bug in tilemap collision debug
2016-02-20 10:02:14 -03:00
Rémi Verschelde 281236280e Fix NavigationPolygon references in _bind_method
Also sync the doc accordingly
2016-02-17 18:46:31 +01:00
Nuno Donato 2d1de83434 refix particles3d issue, bringing down the amount limit to 1024 2016-02-16 08:56:31 +00:00
Rémi Verschelde 5439937899 Bind method is_cell_transposed 2016-02-15 23:30:52 +01:00
Juan Linietsky db43e94175 -Made some icon data types smaller so they take up less space
-Fixed sample import plugin, makes samples sound strange in smp when limited hz
2016-02-11 00:01:35 -03:00
Juan Linietsky 61f03c98c8 -Added missing functions to the doc, fixes #3583 2016-02-09 16:58:03 -03:00
Juan Linietsky 595de75641 -Allow renaming root node of inherited scene 2016-02-09 16:30:50 -03:00
Juan Linietsky 34c022a0a2 -Cleaned up GraphEdit, also fixes #3568 2016-02-08 16:28:12 -03:00
Juan Linietsky 9109e41a20 Property handle rotated controls in 2D editor, fixes #3613 2016-02-08 11:29:32 -03:00
Rémi Verschelde f5433dc60d Merge pull request #3627 from lordadamson/master
renamed function get_video_texutre to get_video_texture
2016-02-08 11:21:58 +01:00
Adham Zahran 6be6d02daf renamed function get_video_texutre to get_video_texture 2016-02-08 12:11:26 +02:00
Rémi Verschelde 84fbe2d4cb Merge pull request #3409 from akien-mga/pr-script-tab-colour
Make custom_bg fit the whole "selected" area in ItemLists
2016-02-08 07:39:40 +01:00
Johan Manuel a634fc7a4a Added get_cellv() method to TileMap 2016-02-06 13:48:41 +01:00
MarianoGNU 11b3b68c3f Stop ColorPicker's narcissism ( fixes #3592 )
Also prevent alpha in guidelines.
2016-02-06 00:26:54 -03:00
MarianoGNU 614cf481ce ColorPicker: Prevent regenerating hsv values every time. Fixes #3492 2016-02-05 23:35:15 -03:00
hondres df4faf8f33 support horizontal mouse wheel, use in text editor 2016-02-04 17:16:22 +01:00
Juan Linietsky bdfac2806f -Fix mouse coordinates not being affected by canvas transform 2016-02-03 09:31:55 -03:00
Juan Linietsky 6d63dda72b Merge pull request #3534 from Biliogadafr/pickable2d
Physics2D: Allow to use 'intersect_point' with not 'Pickable' objects
2016-02-03 08:56:49 -03:00
Juan Linietsky 259bd73cae -make stream player and time restore state properly if removed, fixes #1949 2016-02-02 23:27:10 -03:00
Juan Linietsky 6349c50f5a -Add some offset to spinboxes in tree, so revert icon does not annoy much when pops up, fixes #3415 2016-02-02 20:44:42 -03:00
Juan Linietsky 857edbea1c -make animationplayer thinner, also toolbuttons too. fixes #3526 2016-02-02 18:22:37 -03:00
Juan Linietsky ddf21735ba -remove the !inside_tree error, fixes grab focus error, closes #3521 2016-02-01 21:32:47 -03:00
Juan Linietsky b587614653 Make sure variant parser recognizes "nil" for compatibility with old engine.cfg style cofig. Closes #3531 2016-02-01 19:01:06 -03:00
Juan Linietsky 11933811ee store animation names in alphabetical order, fixes #3423 2016-02-01 00:31:13 -03:00
Biliogadafr e8c5b41dd8 Physics2D: Allow to use 'intersect_point' with objects which is not 'pickable' 2016-02-01 04:30:16 +03:00
Juan Linietsky dbcca7bea2 -Removed bizarre code introduced in a 2 years old PR, fixes #3483 2016-01-31 18:09:45 -03:00
Juan Linietsky 53e237dfe4 -Fix crash opening and closing the scene, closes #3491 2016-01-31 15:10:33 -03:00
Juan Linietsky 8341038bbe -Increment resources total in scene format text, fixes #3506 2016-01-29 08:51:51 -03:00
Rémi Verschelde 0c7e7e2c28 Merge pull request #3470 from MarianoGnu/master
Get color constructor from ColorPicker
2016-01-27 19:08:22 +01:00
Franklin Sobrinho 05a85894da Fix Tree Slider disappearing when clicking on it 2016-01-27 12:24:49 -03:00
George Marques 38c557114b Remove strand debug print, fix #3473 2016-01-26 22:39:20 -02:00
MarianoGNU c927409f25 Get color constructor from ColorPicker 2016-01-26 19:10:56 -03:00
Rémi Verschelde 600411b433 Merge pull request #3467 from MarianoGnu/master
Focus and select line edit every time color is changed. Fixes #2586
2016-01-26 21:48:53 +01:00
MarianoGNU 5d3fb49826 Focus and select line edit every time color is changed. Fixes #2586 2016-01-26 17:24:58 -03:00
Franklin Sobrinho 66eb28b945 Fix wrong position of LineEdit in Scene editor 2016-01-26 16:03:28 -03:00
Juan Linietsky 094f0767d8 -Fix input bug on window ordering due to foretting to sort root items 2016-01-25 10:39:55 -03:00
Juan Linietsky 5245adcf81 Merge branch 'master' of https://github.com/godotengine/godot 2016-01-25 10:30:47 -03:00
Juan Linietsky 07e7909480 -Changed how popups work in Viewport to make them a lot less invasive to the scene tree 2016-01-25 10:30:03 -03:00
Rémi Verschelde 6ceb1c3a9f Merge pull request #3440 from TheHX/issue-2946
Fixed small inconsistencies with the text format
2016-01-25 10:58:50 +01:00
Juan Linietsky 75537c661f Merge pull request #3434 from TheHX/pr-tscn-dependency
Fix .tscn not raising dependency error
2016-01-24 20:07:23 -03:00
Franklin Sobrinho 1cfe20562d Fix .tscn not raising dependency error 2016-01-24 19:05:32 -03:00
Franklin Sobrinho 41ae83e415 Fixed small inconsistencies with the text format 2016-01-24 18:38:37 -03:00
Juan Linietsky 021fc47434 Merge pull request #3431 from TheHX/pr-tscn-groups
Fix .tscn format not loading groups
2016-01-24 15:34:44 -03:00
Juan Linietsky 35a28f3442 -Take in consideration canvas layers for GUI input 2016-01-24 10:57:42 -03:00
Franklin Sobrinho 2493cb1e26 Fix .tscn format not loading groups 2016-01-24 10:32:46 -03:00
Juan Linietsky d01f55a78e Merge pull request #2698 from Faless/add_area_fix
Fix bug in Body(2D)SW::add_area
2016-01-23 23:07:23 -03:00
Juan Linietsky a74138a0dc -Some changes to how scenes and scripts are overriden in scene instance and inheritance
-Fixes #3127 and also properly fixes #2958
2016-01-23 21:42:15 -03:00
Juan Linietsky a2992d5955 -Forgot to add clips input to graphedit, fixes #3420 2016-01-23 18:49:26 -03:00
Juan Linietsky 0c6ffcf7b0 -Added ability to remap dependencies in tscn (forgot to do it..), fixes #3368 2016-01-23 14:09:55 -03:00
Juan Linietsky d59733bd67 -Ability to retrieve state data from PackedScene, closes #3413 2016-01-23 12:01:42 -03:00
Juan Linietsky 5a1593951b -Added a "modal_close" signal for controls
-Used it to keep changes on lineedit when focused out
2016-01-23 11:45:36 -03:00
Juan Linietsky 579ec65d36 Revert "Tree and PropertyEditor confirm value change on focus loss" 2016-01-23 11:20:54 -03:00
Juan Linietsky dfbc2dce17 -Improved tab visibility, fixes #3314 2016-01-22 20:19:57 -03:00
Juan Linietsky fe46f0d2b2 -leftover debug code was causing a crash in navigation 2d, removed it and fixes #3374 2016-01-22 19:49:05 -03:00
Juan Linietsky b30839fb08 -make sure instance placeholder works with duplicate(), fixes #3378 2016-01-22 19:36:40 -03:00
Juan Linietsky 84d7a559e5 Merge branch 'master' of https://github.com/godotengine/godot 2016-01-22 19:17:24 -03:00
Juan Linietsky 9d571d8eac -Fix viewport converting the scren in grayness, fixes #3406 2016-01-22 18:54:43 -03:00
Rémi Verschelde 1120b6ae0d Make custom_bg fit the whole "selected" area in ItemLists
Closes #3096
2016-01-22 00:22:27 +01:00
Rémi Verschelde 23be1d8639 Merge pull request #3407 from TheHX/pr-issue-1717
Tree and PropertyEditor confirm value change on focus loss
2016-01-21 19:33:50 +01:00
Franklin Sobrinho 06cafeac0a Tree and PropertyEditor confirm value change on focus loss 2016-01-21 13:03:06 -03:00
Rémi Verschelde 432e7bf839 Merge pull request #3403 from neikeq/spinbox_hold_imp
Fix and improved Spinbox behaviour
2016-01-21 14:18:58 +01:00
Ignacio Etcheverry bd6f7a411c Fix wrong local mouse pos when holding spinbox and improve behaviour 2016-01-21 14:09:30 +01:00
Ovnuniarchos 37ee43fd5a Documented AudioServserSW, EventPlayer and EventStream*. Corrections on AudioServer and Sample. 2016-01-21 01:17:17 +01:00
Rémi Verschelde f2a397375e Merge pull request #3381 from MarianoGnu/graph_zoom
Add zoom to GraphEdit
2016-01-20 08:00:28 +01:00
Rémi Verschelde a6b7e8c24e Merge pull request #3390 from Hinsbart/duplicate_fix
duplicate groups and signals
2016-01-20 07:25:34 +01:00
Juan Linietsky 891e31b139 -Some fixes to drag and drop and canvas offset for GUI that were introduced after rewrite 2016-01-19 20:28:20 -03:00
hondres 4c753f60b1 duplicate groups and signals 2016-01-20 00:08:04 +01:00
Rémi Verschelde 5d84589e42 Fix build with tools=no
Fixes #3384.
2016-01-19 10:45:12 +01:00
MarianoGNU 76ee2035b6 Add a slider to handle zoom 2016-01-18 22:10:44 -03:00
MarianoGNU c2aaeaaf5a Add zoom to GraphEdit
Also fix some responsiveness issues:
-Box selection no longer visible when connecting.
-Allow cancel connection with mouse's right button.
2016-01-18 20:41:37 -03:00
Juan Linietsky d1bb868a19 -fixed bug related to mouse cursor changes, fixes #3366 2016-01-18 19:49:54 -03:00
Ovnuniarchos ded1acc33e New shader nodes are now created under (more or less) the cursor. 2016-01-18 16:02:42 +01:00
Rémi Verschelde 4481e8af5c Merge pull request #3358 from neikeq/issue_1123
F5 hotkey to refresh FileDialog/EditorFileDialog
2016-01-18 14:46:17 +01:00
Rémi Verschelde c0b9634235 Merge pull request #2854 from MarianoGnu/color_picker
new ColorPicker
2016-01-18 13:52:51 +01:00
Juan Linietsky 74a48a0140 -Massive editor dialog cleanup
-Added a bottom menu list
2016-01-17 20:03:57 -03:00
Juan Linietsky 72fcb8a35b -Moved all the "root" input handling for GUI from individual Controls to Viewport.
-Should fix several reported bugs when controls don't have a common parent

This may have added new bugs, so please report if so!
2016-01-16 22:41:10 -03:00
MarianoGNU e730d4b3d9 Add guide lines to visual editor. 2016-01-15 17:32:10 -03:00
MarianoGNU d1ee2ab893 add screen color picking 2016-01-15 17:23:19 -03:00
MarianoGNU ad2387f0be Add presets.
Also fix some bugs.

Fix a crash and a minor bug
2016-01-15 17:23:19 -03:00
MarianoGNU 1f3d6824c8 Move shaders to default theme and add shader_override related methods to Control class 2016-01-15 17:23:19 -03:00
MarianoGNU dc7755ffcd Add a visual editor to color picker. 2016-01-15 17:23:19 -03:00
Ignacio Etcheverry e80e450ee8 F5 hotkey to refresh FileDialog/EditorFileDialog 2016-01-15 21:19:16 +01:00
Rémi Verschelde 3c6dd5749d Merge pull request #3204 from neikeq/fix_3153
Consider texture offset when rotating tiles
2016-01-15 16:53:16 +01:00
Rémi Verschelde 698b338bc8 Merge pull request #3351 from neikeq/issue_3348
Fix LineEdit not capturing text input events
2016-01-14 16:36:31 +01:00
Ignacio Etcheverry ccbf8b42f4 Fix LineEdit not capturing text input events 2016-01-14 16:26:22 +01:00
Juan Linietsky 4248c84e20 -Make sure scenes properly update when switching tabs, even if sub-instances changed. Fixes #3201 2016-01-14 11:06:20 -03:00
Juan Linietsky c4cee22510 Properly fix tab scrolling, fixes #3128, fixes #3314 2016-01-13 07:39:31 -03:00
Juan Linietsky f2ae6f87a4 Fix situation where TSCN format might crash, closes #3062 2016-01-12 07:07:36 -03:00
Juan Linietsky a625f7d073 -Properly lock and and warn about switching off contact monitoring, fixes #3041 2016-01-12 06:14:15 -03:00
Rémi Verschelde cbdcd99b85 Merge pull request #3257 from TheHX/pr-range-properties
Fix error caused by dragging a Range property
2016-01-11 11:50:50 +01:00
Rémi Verschelde 90e5fba1c1 Merge pull request #3300 from MarianoGnu/bug_fixing
fix: TouchScreenButton should stop propagating action when button is …
2016-01-11 08:47:37 +01:00
Juan Linietsky d7015613b1 It seems everyone misses the polygon decomposer output, fixes #3069 2016-01-10 23:09:05 -03:00
Juan Linietsky 6eb742d49f -Make a rare corner case where disabling/reenabling mipmaps causes invalid texture state. Fixes #3102 2016-01-10 21:45:58 -03:00
Juan Linietsky 5b088b41b3 make path update when curve changes, fixes #3144 2016-01-10 18:01:16 -03:00
Juan Linietsky 1aaf507ffb change intersect_ray function to discriminate pickable objects, fixes #3203 2016-01-10 15:54:57 -03:00
MarianoGNU 3169b66d15 fix: TouchScreenButton should stop propagating action when button is removed from scene 2016-01-10 10:36:43 -03:00
Juan Linietsky 3a3ce982b0 removed this fix, which brought more problems than solutions 2016-01-10 00:26:35 -03:00
Ariel Manzur d199ed344d removed prints 2016-01-09 19:51:05 -03:00
Rémi Verschelde 3ad263eafe Merge pull request #3279 from neikeq/issue_3259
Fix TextEdit caret being drawn when outside the visible region
2016-01-08 17:42:02 +01:00
Ignacio Etcheverry 02d1ef8ca6 Fix TextEdit caret drawn when outside the visible region 2016-01-08 17:33:42 +01:00
Richard Nespithal b123bc4a2a do not return zero with minus-sign within range value, fixes #3221 2016-01-08 15:57:03 +01:00
Ignacio Etcheverry 6541f6418e TextEdit/LineEdit: Handle numpad PageUp, PageDown, Home and End 2016-01-07 22:59:23 +01:00
Ignacio Etcheverry a825cfd932 TextEdit/LineEdit: Handle numpad arrows if NumLock is disabled 2016-01-07 21:51:47 +01:00
Rémi Verschelde a0c39a4b33 Merge pull request #3191 from neikeq/filedialog_hotkeys
Add keyboard shortcut to toggle "show hidden files" in FileDialog
2016-01-07 07:50:26 +01:00
Rémi Verschelde c8849c0b79 Merge pull request #3136 from MarianoGnu/bug_fixing
Fix RGBA Uniform autogeneration in ShaderGraph
2016-01-06 21:10:48 +01:00
Franklin Sobrinho a906bce9a0 Fix error caused by dragging a Range property 2016-01-06 09:58:22 -03:00
Franklin Sobrinho 69240aa243 Fix .tscn format not loading signal binds 2016-01-06 08:56:06 -03:00
Rémi Verschelde 52e18accf2 Merge pull request #3159 from neikeq/tab_close_icon
Add tab close icon to the default theme
2016-01-06 11:58:52 +01:00
Rémi Verschelde 78e5bc8e9a Merge pull request #3211 from SaracenOne/audio_stream_pause_fix
Fix delay on audio stream pause
2016-01-06 11:54:03 +01:00
Rémi Verschelde e0b91c701c Fix is_node_being_edited() when not building tools
Fixes #3213.
Superseded #3242.
2016-01-05 16:02:59 +01:00
Ignacio Etcheverry a9dbe83155 TileMap: Properly flip/rotate tiles with non-square region 2016-01-04 15:28:11 +01:00
Juan Linietsky a501ee355b properly specify metadata in KB function 2016-01-03 20:25:27 -03:00
Juan Linietsky e8fbf39f88 -Replaced tinyjpg for jpgd (public domain), fixes progressive encoded jpgs and speeds up. Closes #2040
-Removed support of loading BitMap as image, now it must be load as a pnm, also closes #2040
2016-01-03 17:14:28 -03:00
Juan Linietsky b988f016fd forgot to bind NOTIFICATION_INSTANCED, closes #2261 2016-01-03 12:57:19 -03:00
Saracen 53b2b0ccbe Fix delay on audio stream pause 2016-01-03 01:24:30 +00:00
Juan Linietsky 939c5f5c9e -Fix global transform cache not being cleared in 2D nodes, fixes many editor bugs, closes #2115 2016-01-02 20:32:19 -03:00
Juan Linietsky 2db78e8f87 Properly clear/restore current camera when switching scenes. Fixes #2137 2016-01-02 17:18:45 -03:00
Juan Linietsky b0b1da6950 Make buttons properly obey stylebox content marins, closes #2156 2016-01-02 15:51:41 -03:00
Ignacio Etcheverry e22e0cecf7 TileMap: Consider texture offset for rotated tiles 2016-01-02 18:17:20 +01:00
Juan Linietsky 757b8c4206 -Restore mouse on X11 when debugger break happens, closes #2232 2016-01-02 12:58:59 -03:00
Juan Linietsky 9ed3d6d007 added a finished signal to StreamPlayer, closes #2249 2016-01-02 12:24:04 -03:00
Juan Linietsky d069c44a7f -Fix TouchScreenButton to work with stretch and viewport canvas transform, closes #2286 2016-01-02 11:23:30 -03:00
Ignacio Etcheverry 3ca800226e FileDialog: keyboard shortcut to toggle "show hidden files" 2016-01-02 12:58:38 +01:00
Juan Linietsky df5fa62ab9 remove the invalid id error when freeing a 3D joint, fixes #2383 2016-01-02 08:37:27 -03:00
Juan Linietsky 199a29b353 Merge pull request #3184 from vnen/update-copyright-2016
Update copyright to 2016 in headers
2016-01-01 11:03:29 -03:00
George Marques 5be9ff7b67 Update copyright to 2016 in headers 2016-01-01 11:50:53 -02:00
Juan Linietsky 7879efc50b Make both lights and occluders stop working if hidden, fixes #2437 2016-01-01 10:45:24 -03:00
Juan Linietsky b78c1e52c2 Make CanvasModulate deactivate when hidden, fixes #2437 2016-01-01 10:33:02 -03:00
Juan Linietsky 7d0894e925 -Improved convex decomposer for CollisionPolygon2D, fixes #2336 2015-12-31 20:23:34 -03:00
Juan Linietsky d1a799f744 -fix range limit issue in Particles2D, closes #2411 2015-12-31 15:18:03 -03:00
Juan Linietsky 1e65c3c701 remove error print in area collision, should be a valid situation, closes #2463 2015-12-31 11:15:49 -03:00
Juan Linietsky 335c52ba03 Merge branch 'master' of https://github.com/godotengine/godot 2015-12-31 00:33:07 -03:00
Juan Linietsky fd836cad27 -Ensure .tscn and .tres always save in a deterministic way, fixes #2495
-Scene edit state is saved outside the scene now, to avoid changes .tscn files when nothing really changed
-Created a VariantWriter helper to unify all variant to text writing
-Moved SceneFormatText writing to VariantWriter
-Moved ConfigFile to use VariantWriter and VariantParser, added compatibility mode for old .cfg files that use engine.cfg format
2015-12-31 00:31:00 -03:00
reduz b8f18cd73c add 2d paths and joints to collision/navigation debug, fixes #2439 2015-12-29 19:07:37 -03:00
reduz 408a67193e Added a reset() function to Particles2D, fixes #2472, fixes #2468 2015-12-29 18:53:45 -03:00
reduz 196b3e03fc Fix CanvasItem.draw_set_transform to act according to docs, fixes #2487 2015-12-29 18:27:20 -03:00
reduz 875bff2c4e -fix loading of samples in mod, s3m and xm. Fixes #2553 2015-12-29 16:06:45 -03:00