Commit graph

1742 commits

Author SHA1 Message Date
volzhs
870ed6f2fa Add "button_selected" signal to ButtonGroup 2016-10-13 09:58:06 +09:00
volzhs
06903c7ad2 Expose resizable property of GraphNode in inspector 2016-10-13 08:24:25 +09:00
Zher Huei Lee
f5830e0973 Fixes for ButtonArray
Fixed hover sometimes not resetting when mouse leaves widget.
Fixed text position not taking into account stylebox's content margins.
2016-10-12 22:54:04 +01:00
Andreas Haas
9d67895c7c
Sprite: Fix inspector not showing changes on "frame" property.
Fixes #6562
2016-10-11 15:14:05 +02:00
Rémi Verschelde
a317617aae Merge pull request #6783 from pkowal1982/buttonpressed
Fix #5959, contrasting texture for toggled button
2016-10-11 09:11:35 +02:00
Rémi Verschelde
0f587c460e Merge pull request #6778 from Hinsbart/completion_z
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Rémi Verschelde
53016ef7a1 Merge pull request #6777 from RandomShaper/revise-serial-naming
Revise serial naming behavior
2016-10-11 09:10:20 +02:00
Juan Linietsky
1527cf8c0d 2D Shaders are working again using the new syntax, though all is buggy in general 2016-10-10 18:31:01 -03:00
Pawel Kowal
d3a8087659 Fix #5959, contrasting texture for toggled button 2016-10-10 13:54:48 +02:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
Resets the z-index when focus is lost and the completion is shown.

Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
84c525ba1b Revise serial naming behavior 2016-10-10 13:11:32 +02:00
Pedro J. Estébanez
d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Anthony Fieroni
6d21fd42d3 Button focus hovering
Signed-off-by: Anthony Fieroni bvbfan@abv.bg
2016-10-10 10:34:18 +03:00
Mateusz Adamczyk
3ef2722904 Place child control under label in AcceptDialog.
Fixes #6199.
2016-10-09 15:00:35 +02:00
Rémi Verschelde
e0e21984d8 Merge pull request #6747 from RandomShaper/unify-serial-naming
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Rémi Verschelde
b9e010fb7f Merge pull request #6743 from mateka/issue-6296
Issue #6296: When searching for control, checking if matrix is inversible
2016-10-09 14:53:32 +02:00
Rémi Verschelde
6f9023c9a6 Merge pull request #6717 from Hinsbart/focus_crash
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde
9eb54e5b6e Merge pull request #6716 from Hinsbart/completion_fix
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde
0a2826b6ba Merge pull request #6712 from lordadamson/issue6012
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
2016-10-09 14:39:42 +02:00
Rémi Verschelde
a4f3d93136 Merge pull request #6707 from volzhs/graphnode
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde
e9521523a2 Merge pull request #6706 from RandomShaper/light2d-editor-only
Add editor_only param to Light2D
2016-10-09 14:36:55 +02:00
Rémi Verschelde
369865f01a Merge pull request #6705 from volzhs/graphedit
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde
ca732a52dc Merge pull request #6693 from J08nY/issue-editor-only-light
light: respect editor_only setting in release build, fixes #6665
2016-10-09 14:10:27 +02:00
Rémi Verschelde
1c6058a5bc Merge pull request #6691 from Faless/expose_more_physics
Expose more 2D/3D physics options in project settings (#5029)
2016-10-09 14:08:50 +02:00
Rémi Verschelde
fb856e532e Merge pull request #6673 from J08nY/issue-update-spinner
Fix #6653, add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
Rémi Verschelde
ddf2acad4e Merge pull request #6613 from pkowal1982/tween
Tween reset/stop/resume/remove for all object properties at once
2016-10-09 13:56:33 +02:00
Rémi Verschelde
28b0e9a56c Merge pull request #6553 from pkowal1982/treecheckbox
Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK
2016-10-09 13:54:36 +02:00
Pedro J. Estébanez
9b2e2935d0 Refactor node naming APIs used by editor
Make 'name_num_separator' a project setting
Make all node operations separator-aware
2016-10-08 21:49:16 +02:00
Mateusz Adamczyk
8671836b76 Added simple check to viewport, if matrix32 is invesile (https://github.com/godotengine/godot/issues/6296). 2016-10-08 12:33:10 +02:00
Juan Linietsky
850eaf7ed7 -the new shader language seems to work
-shader editor plugin can edit shaders
-code completion in shader editor plugin
2016-10-07 11:31:18 -03:00
Andreas Haas
6dfa405eac
Fix code completion drawing under other gui elements.
Raises the z-index of the Script editor when the completion is shown.

fixes #1257
fixes #6690
2016-10-05 10:19:52 +02:00
Andreas Haas
8dd026e4f9
Prevent crash on focus change when no valid next control has been found.
Fixes the crash discussed in #6714.
2016-10-05 08:56:58 +02:00
Juan Linietsky
cf5778e51a -Added ViewportContainer, this is the only way to make viewports show up in GUI now
-2D editing now seems to work
-Added some functions and refactoring to Viewport
2016-10-05 01:26:35 -03:00
Adham Zahran
cbb0ea315b fix #6012 exposed setters and getters of Camera H/V offset to GDScript 2016-10-05 00:46:28 +02:00
volzhs
7d74e3c39f Expose selected value of GraphNode 2016-10-05 02:00:58 +09:00
volzhs
83278a1ac4 Fix GraphEdit grab random node when delete or deselect by clicking empty space 2016-10-05 01:10:49 +09:00
Pedro J. Estébanez
34c02fad5a Add editor_only param to Light2D 2016-10-04 16:44:59 +02:00
Juan Linietsky
22d83bc9f6 Begining of GLES3 renderer:
-Most 2D drawing is implemented
-Missing shaders
-Missing all 3D
-Editor needs to be set on update always to be used, otherwise it does not refresh
-Large parts of editor not working
2016-10-03 21:35:16 +02:00
J08nY
af35130b50
light: respect editor_only setting in release build and dont show the light 2016-10-03 16:23:43 +02:00
Fabio Alessandrelli
1d09c27ba4 Expose more 2D/3D physics options in project settings 2016-10-03 14:40:47 +02:00
Karol Walasek
7494a8c3c6 Added force_raycast_update GDScript method for RayCast[2D] 2016-10-03 12:36:16 +02:00
Rémi Verschelde
735e905c77 Merge pull request #6662 from RandomShaper/export-texture-flags
Respect texture .flags files on export
2016-10-03 12:03:06 +02:00
Rémi Verschelde
ad280e7bfc Merge pull request #6640 from Hinsbart/color_picker
Add inline ColorPicker to Script text editor.
2016-10-03 12:00:10 +02:00
Rémi Verschelde
c939be8859 Merge pull request #6634 from zaps166/fix-resampler-crash
Don't crash when video is stopped and played again
2016-10-03 11:59:55 +02:00
Rémi Verschelde
03ee749989 Merge pull request #6529 from pkowal1982/scrolltree
Add scrolling to Tree control in Drag and Drop mode
2016-10-03 11:44:32 +02:00
Rémi Verschelde
9c4c1733b4 Merge pull request #6513 from Brickcaster/master
Fix for issue #6496: ItemList does not immediately scroll down to section
2016-10-03 11:39:16 +02:00
J08nY
6b283ae293
PopupMenu: added toggle_item_checked and exposed set_item_tooltip and get_item_tooltip 2016-10-01 16:50:53 +02:00
Pedro J. Estébanez
11cbbeb17e Respect texture .flags files on export 2016-09-30 17:41:45 +02:00
Pawel Kowal
f9a21baa26 Fix #6480, area duplicated param 2016-09-29 18:12:45 +02:00
Andreas Haas
f81d009525
Add inline ColorPicker to Script text editor.
Adds an option to the script editor context menu that lets you open
a ColorPicker in order to easily edit `Color()` constructors.
To do this, right click on the word `Color` and select `Pick Color`.

A side effect of this change is that the script editor now has its own
context menu instead of re-using the one from TextEdit.
It's now possible to indent left/right and to toggle comments via this menu.
I also felt free to make it more context-sensitive than before:
Now "Cut" and "Copy" will only be shown if text has actually been selected.

I also added default shortcuts for indent left/right. (alt + left/right)

Closes #6232
2016-09-29 09:12:45 +02:00
Pawel Kowal
3edc0a4832 LineEdit long indicator, fix #6624 2016-09-28 22:05:34 +02:00
Błażej Szczygieł
5585bc1c38 Don't crash when video is stopped and played again 2016-09-28 13:39:06 +02:00
Ying-Ruei Liang(KK)
241e2594f1 Show '.' in the tree of file_dialog 2016-09-26 16:04:15 +08:00
Pawel Kowal
acc242fd6a Tween reset/stop/resume/remove for all object properties at once 2016-09-25 23:25:52 +02:00
yg2f
c1e2358914 expose GeometryInstance.get_aabb() etc fixes #6587
expose ``GeometryInstance.get_aabb();`` to gdscript
expose ``VisualInstance.get_transformed_aabb();`` to gdscript
and debug ``ImmediateGeometry::add_vertex()``;
2016-09-22 23:06:07 +02:00
Ignacio Etcheverry
1c50dfdf6c Merge pull request #6557 from anneomcl/master
Fix for #6158
2016-09-20 09:28:26 +02:00
anneomcl
aa5ade834c Fix for #6158. Converting Vector2 to Size2 for scaling functions. 2016-09-19 23:31:45 -07:00
Pawel Kowal
dd4f2a2ccb Use full width of TreeItem::Cell to change value in CELL_MODE_CHECK 2016-09-19 23:07:24 +02:00
Rémi Verschelde
829d69ba52 Merge pull request #6545 from Hinsbart/textedit
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.

[ci skip]
2016-09-19 14:25:48 +02:00
Andreas Haas
9c71e5a9df
Fix ability to cut/paste text in LineEdit/TextEdit in readonly mode.
Fixes #6466
2016-09-19 14:17:48 +02:00
Juan Linietsky
8b15b26eed Click the inspected objet name to see all subresources. 2016-09-17 19:01:47 -03:00
Pawel Kowal
9e5aaa27bc Add scrolling to Tree control in Drag and Drop mode 2016-09-17 21:29:55 +02:00
Rémi Verschelde
80861b7d59 Merge pull request #6414 from RandomShaper/improve-shader-shadow
Expose additional light/shadow properties to canvas item shaders
2016-09-17 18:34:22 +02:00
Brickcaster
cc7bc07e33 Fix for issue #6496
Canged order of NOTIFICATION_DRAW to update scrollbar before scrollbar
is checked to see which list elements to display.
2016-09-16 11:25:07 -04:00
Juan Linietsky
913925f106 Center camera2D with the proper viewport size 2016-09-15 08:17:23 -03:00
Juan Linietsky
a4156f1f0a Added a few functions to make 2D split screen easier. 2016-09-14 15:55:14 -03:00
Fabio Alessandrelli
97cf3eba56 Restore viewport set_world_2d functionality 2016-09-14 15:18:00 +02:00
Juan Linietsky
8bcb6a290c -Added VeryLowDPI and MidDPI modes to Godot editor.
-Improved HiDPI detection (requires resolution of > 2000 in X axis)
2016-09-13 11:05:47 -03:00
sanikoyes
b548ef0009 fix ScrollContainer cannot scroll when scroll bar is hidden 2016-09-13 11:50:41 +08:00
Juan Linietsky
37f1e86108 Do ctrl-click on any code identifier to go to definiton or help page. 2016-09-12 10:53:31 -03:00
Juan Linietsky
b874cede20 Add argument options for the theme override functions in Control 2016-09-11 11:48:31 -03:00
Juan Linietsky
95eb7466df -Added a ColorFrame control, kind of like Texture but for color.
-Added dropping nodes to text editor for them to become a path
-Fixed issues with font not properly being set in code editor
2016-09-11 11:28:01 -03:00
Juan Linietsky
1bf684cea2 -Cleaned up find/replace bar for replace (made selection only default if selection exists), also made buttons look like buttons
-Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
2016-09-11 10:05:46 -03:00
Juan Linietsky
65b93d177e -Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
2016-09-10 17:34:27 -03:00
Juan Linietsky
b16f41a10a Fix Viewport.get_mouse_pos() for specific situations, closes #1885 2016-09-10 13:29:07 -03:00
Juan Linietsky
4d664c9289 Merge pull request #5692 from kubecz3k/remoteTransform
Remote transform node (for 3d)
2016-09-10 12:28:47 -03:00
Juan Linietsky
fc61eb37ce Merge pull request #5920 from 29jm/fix-warnings
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
026c7913cf Merge pull request #5942 from pkowal1982/scroll
ScrollContainer expand children bug fix
2016-09-10 12:14:33 -03:00
Juan Linietsky
34d3a4b471 Merge pull request #6336 from sanikoyes/Pr-fix-inter-callback-delete
Tween: fix non-repeat interpolate_callback
2016-09-10 11:49:07 -03:00
Juan Linietsky
8835882d23 Merge pull request #6355 from Kazuo256/http-request-methods
Add http method and request data parameters to HTTPRequest::request
2016-09-10 11:48:07 -03:00
Paulb23
63fd8f863b Added get_v_scroll to item list, issue 5343 2016-09-09 15:20:57 +01:00
George Marques
c73bef1562 Merge pull request #6423 from bebae/issue-6143
fixed wrong placement of AcceptDialog Buttons issue-6143
2016-09-07 23:47:48 -03:00
MarianoGNU
ae4f7cbc2c Explicitly initialize TextureProgress's initial angle value.
(Hopefully)
Fixes #3856
Fixes #6426
Fixes #6344
2016-09-07 20:00:10 -03:00
Juan Linietsky
828e1c092f Renamed the bind_native functions to bind_vararg, should make it show the documentation more clearly and also make it easier to bind to C# 2016-09-07 19:39:57 -03:00
bebae
dd9189aac4 fixed wrong placement of AcceptDialog Buttons issue-6143 2016-09-07 20:49:53 +02:00
Rémi Verschelde
a40309b532 Merge pull request #6420 from Paulb23/itemlist_tooltip_disable_issue_6240
Itemlist tooltip disable issue 6240
2016-09-07 20:42:26 +02:00
Paulb23
62a968b1c6 Ability to disable item list tooltip, issue 6240 2016-09-07 18:13:22 +01:00
Rémi Verschelde
b48e6230f4 LineEdit: Quick fix to set_expand_to_text_length argument name 2016-09-07 08:52:42 +02:00
Pedro J. Estébanez
0960887625 Expose light shadow color to canvas item shaders 2016-09-07 01:52:54 +02:00
Juan Linietsky
405f6af79c -Added diectly editable expressions on node to VSEditor, closes #6392
-Added ability for LineEdit to expand to fit text
2016-09-06 20:34:24 -03:00
Juan Linietsky
181fdce1e9 Better snapping for graph ports, closes #6394 2016-09-06 19:55:22 -03:00
Juan Linietsky
f31400c04d Added option for UVs (and tangents) in adding sphere for ImmediateGeometry, closes #6398 2016-09-06 19:31:44 -03:00
Kazuo256
c53e5c555a Add http method and request data parameters
For HTTPRequest::request
2016-09-05 13:38:00 -03:00
Rémi Verschelde
eb1b71180e Merge pull request #6372 from waldson/master
Fixes LineEdit text selection with mouse selecting more than intended
2016-09-05 07:46:02 +02:00
Juan Linietsky
5028d7510d Connection hints when connecting to empty space. 2016-09-03 14:58:23 -03:00
Waldson Patrício
3d84973184 Fixes LineEdit text selection with mouse selecting more than intended 2016-09-02 13:04:15 -03:00
Juan Linietsky
b780679302 -Added focus to comment node
-Make comment node not grab focus on main area
2016-09-02 12:03:49 -03:00
Juan Linietsky
5fc084c28e -Fixed issue in Kinematicbody2D 2016-09-01 12:03:55 -03:00
Juan Linietsky
fc70824f7c More improvements to visual script..
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Rémi Verschelde
ce7e2ae4f4 draw_line: Properly bind antialiased argument 2016-08-31 08:57:21 +02:00
Juan Linietsky
fb4d6d1db0 More visual script improvements
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
sanikoyes
cccea7e0b4 Tween: fix non-repeat interpolate_callback does not delete after call triggered 2016-08-31 10:27:20 +08:00
Rémi Verschelde
9a35ed5d54 Merge pull request #5670 from timoschwarzer/feature/camera2d_limit_smoothing
Add an option to smooth camera limits when camera smoothing is enabled.
2016-08-30 16:52:55 +02:00
Rémi Verschelde
41ee85b6a0 Merge pull request #5262 from vnen/button-signals
Add button_down and button_up signals
2016-08-30 16:49:12 +02:00
Rémi Verschelde
622bf389f2 Merge pull request #6264 from MasonAsh/issue-6263
Fix sliders incorrectly calculating value on click
2016-08-29 19:05:32 +02:00
Rémi Verschelde
01d5163b6f Merge pull request #6220 from volzhs/issue-5789
Make LineEdit not to cover whole line when rename node
2016-08-29 19:04:49 +02:00
Rémi Verschelde
835ee75d57 Merge pull request #6159 from touilleMan/issue-6148
Add Node2d global rot/rotd/scale methods
2016-08-29 19:04:24 +02:00
Rémi Verschelde
23cb5efe7c Merge pull request #5956 from djrm/tree_behavior
Double click on scene tree element to focus currently selected node
2016-08-29 18:28:05 +02:00
Juan Linietsky
748836e0b3 Several all around fixes to visual scripting (in the process of creating demos) 2016-08-28 20:59:01 -03:00
Rémi Verschelde
6c674375e5 Merge pull request #6249 from volzhs/issue-6121
Show last added action on Input Map
2016-08-28 12:02:08 +02:00
volzhs
2e5a4cb5ca Show last added action on Input Map and implement InputEvent "==" 2016-08-28 15:18:13 +09:00
Daniel J. Ramirez
70c9979cce Double click on scene tree element to focus currently selected node
In 3D it will focus in the first viewport
Enable double click for trees
2016-08-27 17:15:49 -05:00
George Marques
8a1b1ab6d6
Add button_down and button_up signals 2016-08-26 21:57:52 -03:00
Juan Linietsky
9c6175db11 More visual script work
-Block switches to 2d/3d editor if editing visual script
-Added cast node in flow control
-Added ability to do RPC in visual script
-Comment nodes
-Fix bug with inverted cable in connecting backwards
-Copy and paste nodes, including from different scripts
2016-08-25 17:45:20 -03:00
Mason Ashbridge
fb54ba6397 Slider value accounts for grabber offset 2016-08-24 03:17:54 -04:00
Juan Linietsky
ad8f208bdb Proper function/property selection in visual script editing for property.
This one has an ordered list, built-in description, search, etc.
2016-08-23 19:29:07 -03:00
Juan Linietsky
231c72b5eb prettier connections for graph edit 2016-08-23 10:15:47 -03:00
volzhs
ff22db3b21 Make LineEdit not to cover whole line when rename node 2016-08-23 05:46:11 +09:00
Juan Linietsky
cbbcf72703 -High Level protocol optimization (should be smaller)
-Ability to set compression to ENet packets (check API)
-Fixed small bug in StringDB that lead to duplicate empty strings
-Added a new class, StreamPeerBuffer, useful to create your own tightly packed data
2016-08-22 01:19:24 -03:00
Juan Linietsky
2b7aa98d2d Changed API to use sequenced packets for UDP (drop old) 2016-08-19 22:54:53 -03:00
Juan Linietsky
2fa693273c Many fixes to networking, demo should work now 2016-08-19 18:44:09 -03:00
Juan Linietsky
1add52b55e Brand new networked multiplayer 2016-08-19 16:48:41 -03:00
Emmanuel Leblond
c402ac13df Add Node2D's set_global_rot get_global_rot set_global_rotd get_global_rotd set_global_scale get_global_scale methods. 2016-08-15 11:39:19 +02:00
Juan Linietsky
3db36684b1 Added high level networked multiplayer to Godot.
It's complete, but absolutely and completely untested, undocumented and NSFW.
Have fun :-)
2016-08-14 18:49:50 -03:00
Johan Manuel
67b29e3b9e Fix some warnings about misleading indentation 2016-08-13 13:21:35 +02:00
Rémi Verschelde
b9e8bddf19 Merge pull request #6132 from neikeq/pr-issue-6123
Confirm code completion with numpad key ENTER
2016-08-12 13:45:55 +02:00
Ignacio Etcheverry
e9f9e00bd9 Confirm code completion with numpad key ENTER 2016-08-12 13:37:10 +02:00
Rémi Verschelde
d4c44485d8 Merge pull request #6081 from djrm/new_icons
Some new icons for visual script and graphs
2016-08-09 07:47:49 +02:00
Daniel J. Ramirez
287b6d0e04 Some new icons for visual script and graphs 2016-08-08 17:23:31 -05:00
Juan Linietsky
37b5e99bc2 prevent bug due to scripts not working in editor and notifier sending signals to it. 2016-08-08 19:04:12 -03:00
Juan Linietsky
3d7c10e9ce Added an easy API to yield to a specific time by doing:
yield( get_tree().create_timer(5.0), "timeout" )
2016-08-06 21:39:50 -03:00
Juan Linietsky
9890c1d2ca Likely with bugs and with some features are missing, as well as profiler support, but VisualScript should be more or less done! 2016-08-06 19:00:54 -03:00
Juan Linietsky
259418f827 VisualScript can now execute visual scripts, but there is no debugger or profiler yet. 2016-08-05 22:48:00 -03:00
Juan Linietsky
6ed5d48d0c Concluded base visual scripting! can edit but not run though. 2016-08-04 00:05:35 -03:00
Juan Linietsky
3d1d190dcd Merge branch 'master' of https://github.com/godotengine/godot 2016-08-02 19:11:47 -03:00
Juan Linietsky
ad313097eb WIP visual scripting, not working yet but you can check out stuff 2016-08-02 19:11:05 -03:00
Zher Huei Lee
0de7860511 DynamicFont caches now accounts for texture flags
CacheID added for future-proofing
2016-08-02 15:36:11 +01:00
Zher Huei Lee
af6ef01c69 Added extra spacing support for DynamicFont
Side effect is that label min-size will now take into account
kerning.
2016-08-02 11:05:20 +01:00
Zher Huei Lee
7b165e8ac2 Added texture mipmaps and filtering to DynamicFont 2016-08-02 08:01:51 +01:00
Andreas Haas
4755fe5576
UI navigation via JOYSTICK_MOTION.
Previously, you could assign joystick axis events to "ui_*" actions but they had no effect.
See https://godotengine.org/qa/6232
2016-07-30 12:39:16 +02:00
Rémi Verschelde
08ba6086be World2D: Fix typo in default_density deprecation check 2016-07-28 19:03:32 +02:00
Paulb23
740dea7de7 Exposed enable syntax highlighting to properties 2016-07-28 15:47:47 +01:00
Pawel Kowal
853161a000 ScrollContainer expand children bug fix 2016-07-27 20:24:10 +02:00
Ignacio Etcheverry
35cb8ff89e LineEdit: Fix event handled as text when a mod key is pressed 2016-07-27 19:32:46 +02:00
Juan Linietsky
542bd81e76 Merge pull request #5926 from akien-mga/pr-graphedit-drag
Fix GraphEdit dragging issues at scales != 1
2016-07-26 18:49:51 -03:00
Rémi Verschelde
60e19f7751 Fix GraphEdit dragging issues at scales != 1
Works around the issue originally described in #5907 (that was then
hijacked to describe the broader issue it exposes).
2016-07-26 23:19:41 +02:00
Juan Linietsky
9151eb591d Changed the way the step decimals are computed to a safer way, fixes many issues. 2016-07-26 17:25:10 -03:00
Daniel J. Ramirez
213a57ccaf Stop baking process if there is no geometry in the BakedLightInstance.
moved missing baked light warning to BakedLightInstance configuration warning
2016-07-25 21:45:20 -05:00
Juan Linietsky
ab93fd1af9 Add thread support to HTTPRequest, changed assetlib to use it. 2016-07-24 16:09:43 -03:00
Juan Linietsky
62cdfeaf58 Merge pull request #5881 from neikeq/pr-fix-propagation
Viewport: Replace obsolete "windows" group calls
2016-07-24 12:37:59 -03:00
Juan Linietsky
6e3c7fe5fe Merge pull request #5803 from jarfil/issue/origin5695-pr
Fix tooltips blinking
2016-07-24 12:37:17 -03:00
Juan Linietsky
0b75f894c3 Merge pull request #5746 from Ovnuniarchos/FileDialogExposed
Corrections and additions to FileDialog
2016-07-24 12:36:05 -03:00
Juan Linietsky
ba625a14c6 Merge pull request #5447 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-07-24 12:19:27 -03:00
Juan Linietsky
bafcabb157 Merge pull request #5832 from Algrin6/patch-1
Fixes defects in Curve2D and Curve3D
2016-07-24 11:44:42 -03:00
Ignacio Etcheverry
67640c84eb Viewport: Replace obsolete "windows" group calls
- Fixes neighbour focusing event propagation not being stopped
2016-07-24 14:11:30 +02:00
Rémi Verschelde
8fbe804bd1 Merge pull request #5884 from 29jm/fix-crash-graphnode
Fix crash when GraphNode wasn't a child of a Control
2016-07-24 00:37:20 +02:00
Johan Manuel
580b4465c6 Fix crash when GraphNode wasn't a child of a Control 2016-07-24 00:25:32 +02:00
Rémi Verschelde
ebefdaa598 Merge pull request #5737 from neikeq/pr-issue-5269
TextEdit: Scroll search results to the center
2016-07-23 22:54:32 +02:00
MarianoGNU
f00e0b589f Fix pick color from screen. Closes #5853 2016-07-22 20:35:12 -03:00
Johan Manuel
1a1342670e Fix ItemList.clear() not removing separators 2016-07-22 16:45:57 +02:00
Robert Lewicki
b1df9e016c Fixed ItemList indexing bug while selecting items.
Also added functionality for unselecting items in itemlist while clicking in empty space.
Fixes #5772.
2016-07-22 16:28:37 +02:00
Juan Linietsky
3aeafcae04 Removed support for saving paths as relative, closes #5728
Editor now has good refactoring tools, so this function is mostly obsolete
2016-07-22 10:39:46 -03:00
Juan Linietsky
e4cd01ac8c Make texture parameter optional in begin() of ImmediateGeometry. Closes #5676 and closes #5720 2016-07-22 09:59:56 -03:00
Rémi Verschelde
6072eb878d Merge pull request #5849 from SaracenOne/expose_add_index
SurfaceTool add_index method exposed to scripts.
2016-07-22 08:39:40 +02:00
Rémi Verschelde
51b03f0bf5 Fix binding for ItemList.sort_items_by_text
Also forces to recompute the cached rect for all items.
Fixes #5799
2016-07-22 08:08:17 +02:00
Saracen
f86b698765 SurfaceTool add_index method exposed to scripts. 2016-07-22 04:52:41 +01:00
Juan Linietsky
93c3c801db properly implement item disabling, fixes #5683 2016-07-21 18:24:56 -03:00
Juan Linietsky
124e3591a5 Some optimizations and limits for extreme zoom in and out in editor, fixes #5820 2016-07-21 10:11:53 -03:00
Rémi Verschelde
ad55c63918 Merge pull request #5836 from volzhs/issue-5830
Remove "SMOOTH BEGIN?" message
2016-07-21 10:37:27 +02:00
volzhs
dd7b1021f6 Remove "SMOOTH BEGIN?" message 2016-07-21 17:34:58 +09:00
Rémi Verschelde
40d78c2144 Merge pull request #5829 from 29jm/master
Fix the rotation not updating in the inspector with Controls
2016-07-21 09:09:58 +02:00
Rémi Verschelde
750b973ee4 Merge pull request #5200 from neikeq/sc-CanvasItemEditor
Implement ShortCuts in CanvasItemEditor
2016-07-21 09:02:01 +02:00
Ignacio Etcheverry
fc16954fa2 TextEdit: Center search results 2016-07-21 03:40:08 +02:00
Ignacio Etcheverry
4e82f9ffcf Implement missing ShortCuts in CanvasItemEditor 2016-07-21 03:28:41 +02:00
Algrin6
2b60884659 Fix curve bug 2016-07-21 02:14:58 +03:00
Johan Manuel
fc4ace3120 Fix the rotation not updating in the inspector with Controls 2016-07-21 00:26:36 +02:00
Juan Linietsky
79a7473cac put text formats for resources and scenes as priority 2016-07-19 21:40:05 -03:00
Juan Linietsky
0988970c1f Fixed properly not save signals that already exist in their base scenes, closes #5656 2016-07-19 21:26:12 -03:00
Juan Linietsky
9de33e18f1 WIP bugfix for existing connections 2016-07-19 20:20:28 -03:00
Rémi Verschelde
525fb01fd2 Revert "Homogeinize resource formats loaders/savers"
The text format definition needs to stay in `scene/` as it relies
on other scene components, and `core/` must stay self-contained.

This reverts commits a5e27503fd
and 1492fd8460.
2016-07-19 18:15:01 +02:00
Rémi Verschelde
17f86eee33 Merge pull request #5792 from neikeq/pr-issue-3868
Label: Added `get_visible_line_count` method
2016-07-19 07:38:06 +02:00
Rémi Verschelde
569541bafc Merge pull request #5790 from neikeq/pr-issue-1149
MenuButton: Fix event propagation with dialogs
2016-07-19 07:36:25 +02:00
Jaroslaw Filiochowski
be560a750c Hide tooltip if new mouse position's tooltip is empty 2016-07-19 07:07:53 +02:00
Jaroslaw Filiochowski
1e7b9c509f Don't start a new tooltip timer for the same tooltip 2016-07-19 07:07:40 +02:00
Juan Linietsky
b49476a011 Merge pull request #5731 from neikeq/pr-issue-5642
LineEdit: Fix rtl scrolling with mouse drag selection
2016-07-18 19:29:24 -03:00
Ignacio Etcheverry
78819b6b54 Label: Added get_visible_line_count method 2016-07-18 23:33:06 +02:00
Juan Linietsky
7a4d67ae71 Property convert images to RGBA before applying hq2x, fixes #5168 2016-07-18 18:30:30 -03:00
Ignacio Etcheverry
c45837cf3f MenuButton: Fix event propagation with dialogs 2016-07-18 23:06:14 +02:00
Juan Linietsky
f93e333e85 Properly transform sub-viewport input, closes #3580 2016-07-18 17:16:49 -03:00
Juan Linietsky
f10bd217a2 properly fixed notificaitons for theme changed, closes #5774 2016-07-18 16:41:59 -03:00
Rémi Verschelde
e91bd708d9 Merge pull request #5777 from Paulb23/caret_stretching
Fixed caret width on tabs
2016-07-18 16:57:12 +02:00
Rémi Verschelde
f53e7efefe Merge pull request #5527 from djrm/color_picker_fixes
Color picker fixes
2016-07-18 16:43:41 +02:00
Paulb23
5505f0c776 Fixed caret width on tabs 2016-07-18 15:15:40 +01:00
Juan Linietsky
254d79a560 Add a function to notify font users that the font changed. Closes #5774 2016-07-18 10:00:26 -03:00
Rémi Verschelde
be563a1663 Merge pull request #5757 from Razzlegames/blendIndexFix
Could not use pre multiply alpha for material in editor
2016-07-18 00:54:38 +02:00
Rémi Verschelde
4958963abe Merge pull request #5742 from Ovnuniarchos/TreeItemSetButton
TreeItem.set_button exposed.
2016-07-18 00:53:39 +02:00
Rémi Verschelde
62eae7cbe2 Merge pull request #5723 from Paulb23/toggle_breakpoint_gutter_issue_5712
Fixed toggle breakpoint gutter not updating when the game is running, issue 5712
2016-07-18 00:52:36 +02:00
Rémi Verschelde
3183834c5d Merge pull request #5657 from Paulb23/block_caret
Added block caret to TextEdit
2016-07-18 00:44:45 +02:00
Kyle Luce
4e69bc3bff Could not use pre multiply alpha for material in editor
- 3 was hard coded, I just changed to 4. Unfortunately this will break every time
  a blend mode is added
2016-07-17 11:09:47 -07:00
Rémi Verschelde
7b28976af5 Merge pull request #5755 from TheHX/issue-5716
Fix empty reference pages after restarting Godot
2016-07-17 19:06:03 +02:00
Franklin Sobrinho
18f165b494 Fix empty reference pages after restarting Godot 2016-07-17 13:29:50 -03:00
Rémi Verschelde
22419082d9 Remove some noisy debug prints
Part of #5031
2016-07-17 18:25:21 +02:00
Ovnuniarchos
3698332f6b Exposed mode, access, filters, and show hidden files to the editor. Also, two functions to get/set the filter list. 2016-07-17 03:00:51 +02:00
Ovnuniarchos
10be575aa1 TreeItem.set_button exposed. 2016-07-16 22:36:19 +02:00
Ignacio Etcheverry
671c21dce7 MenuButton: Fix regression 2016-07-16 15:16:26 +02:00
Ignacio Etcheverry
f9d1e03018 MenuButton: Avoid event propagation if handled as hotkey 2016-07-16 14:36:55 +02:00
Juan Linietsky
24d86e33a6 Merge pull request #5467 from RandomShaper/enhance-tidy-extensions
Enhance/tidy file extensions management
2016-07-16 09:28:49 -03:00
Ignacio Etcheverry
71ee8eeb3f LineEdit: Fix rtl scrolling with mouse drag selection 2016-07-15 22:57:46 +02:00
Daniel J. Ramirez
7b846d62ac Color picker fixes:
- fixed alpha channel slider range in raw mode to go from 0 to 1 fixes #4396
 - fixed HS bars going outside the control area
 - fixed color text field changing to hex mode even if script mode was selected
2016-07-15 13:33:01 -05:00
Paulb23
b550471a14 Fixed breakpoint gutter toggle not updating when game is running, issue 5712 2016-07-15 15:02:55 +01:00
Jakub Grzesik
82f84f4c2f Remote transform node (for 3d)
It's code is based on RemoteTransform2D node.
2016-07-14 16:37:26 +02:00
Timo Schwarzer
d691cb4732 Add an option to smooth camera limits when camera smoothing is enabled. 2016-07-13 11:48:50 +02:00
Paulb23
54f720ac06 Added block caret to TextEdit 2016-07-12 16:07:17 +01:00
Rémi Verschelde
c0e6395526 Merge pull request #5638 from TheHX/tree-buttons
Fix tree drawing the pressed stylebox in all buttons in the column
2016-07-12 07:28:02 +02:00
Paulb23
12e3bb1f01 Removed duplicate color 2016-07-11 15:40:04 +01:00
Paulb23
28356a7d63 Expose highlight all occurrences 2016-07-11 15:20:01 +01:00
Paulb23
21385d9ecb Expose show line numbers 2016-07-11 15:11:35 +01:00
Paulb23
cc133c9289 Expose colors to theme 2016-07-11 14:57:32 +01:00
Paulb23
a9956be63d Added completion font colors 2016-07-11 14:25:56 +01:00
Juan Linietsky
b41be2d1a9 Merge pull request #4854 from Razzlegames/screenToLocal
Conversion function for screen coords to local Canvas coords
2016-07-11 02:26:58 -03:00
Kyle Luce
605193b22f Conversion function for screen coords to local Canvas coords
- Useful if you need to Convert screen coords to the coordinate space of a
  CanvasItem, but don't have an associated InputEvent to use in
  #make_event_local.

For example, if you have a particular point on the screen you'd like to project
into World Space, for various reasons, you would use this function on the root
of the scene. This is analogous to ray casting from screen space in 3D.
2016-07-10 16:06:57 -07:00
Franklin Sobrinho
5708006340 Fix tree drawing the pressed stylebox in all buttons in the column 2016-07-10 19:03:43 -03:00
Rémi Verschelde
d37ef5990b Merge pull request #5627 from Paulb23/fixed_highlighting_highlighted_section
Fixed highlight all occurrences highlighing highlighted section
2016-07-10 19:42:56 +02:00
Juan Linietsky
46bb02991f Merge pull request #5270 from lonesurvivor/master
Added Tile Origin = Bottom Left option to the TileMap
2016-07-10 13:41:33 -03:00
Juan Linietsky
223ca1363c Merge pull request #5352 from m4nu3lf/master
AnimationTreePlayer filters improved
2016-07-10 13:40:56 -03:00
Juan Linietsky
7af77e1b7b Merge pull request #5606 from akien-mga/pr-rtl-raw-text
RichTextLabel: Fix adding raw text when bbcode is disabled
2016-07-10 13:07:04 -03:00
Juan Linietsky
49b288d331 Add function to get the list of samples, closes #5561 2016-07-10 13:00:42 -03:00
Juan Linietsky
b06eca108a Merge pull request #5490 from timoschwarzer/master
Add new Camera2D alignment functions
2016-07-10 12:39:50 -03:00
Juan Linietsky
5bb552273b Merge pull request #5489 from jejung/richtextlabel-get_text
RichTextLabel-get_text
2016-07-10 12:38:28 -03:00
Paulb23
d43adcbb1e Fixed highlight all occurrences highlighing highlighted section 2016-07-10 16:10:54 +01:00
Ovnuniarchos
061cadcae5 LineEdit placeholder now accepts translated strings. 2016-07-10 00:39:17 +02:00
Juan Linietsky
864c0e84de line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Juan Linietsky
1d6be8b00d Changed tree so shift-selection skips folded children, closes #5515 2016-07-09 13:15:45 -03:00
Rémi Verschelde
3a70d4a072 Merge pull request #5589 from akien-mga/pr-unused-var
Removing some more unused vars and dead code
2016-07-09 14:33:30 +02:00
Rémi Verschelde
3816fe9d19 RichTextLabel: Fix adding raw text when bbcode is disabled
Fixes #5605.
2016-07-09 14:26:49 +02:00
Rémi Verschelde
a15de80942 classref: Fix arg name for is_action_pressed/released
Also position TEXTURE_SPHERE constant properly.
2016-07-08 23:40:43 +02:00
Franklin Sobrinho
6b154c9706 Fix own world option of Viewport.
It happens when the viewport has WorldEnviroment child with a valid Enviroment
2016-07-08 14:27:19 -03:00
Rémi Verschelde
f40f360a2c Remove unused variables (fourth pass) + dead code
Also fix a potential regression from 3fcb9b1ec1.
2016-07-08 16:47:55 +02:00
Rémi Verschelde
454b210242 Remove unused variables (third pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Juan Linietsky
7c1ab42571 Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422 2016-07-06 23:46:04 -03:00
Juan Linietsky
17e4ead62a Fix several bugs related to node duplication and signals, closes #5405 2016-07-06 21:43:31 -03:00
Juan Linietsky
a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
Franklin Sobrinho
5c3c87206b Fix TreeItem range editing by dragging on the inspector 2016-07-04 12:14:49 -03:00
George Marques
55b8a353f5
Fix completion string check when column = 0 2016-07-03 18:49:58 -03:00
George Marques
ec18b97f5c
Stop completion when the match is perfect
to avoid the completion insisting showing up after a completion.
2016-07-03 11:34:23 -03:00
George Marques
805b668d7f
Fix code completion sorting 2016-07-03 11:32:30 -03:00
Juan Linietsky
ec94dd7eee Fixed the order of input, reverts #4384, closes #5361 2016-07-01 11:42:09 -03:00
Juan Linietsky
8cbb154466 Color picker was getting too much focus, made it get not as much focus.
This abuse of focus was the original culprit of #5354
2016-07-01 10:55:35 -03:00
Juan Linietsky
3185ce64c5 Invalidate key focus if not visible, fixes #5354 2016-07-01 10:42:33 -03:00
Juan Linietsky
db9335f4c1 Improved drag&drop to work as n-piggeon wants to use, closes #5342 2016-07-01 10:34:38 -03:00
Juan Linietsky
f6725f9768 throw error if GridContainer::set_columns goes below 1, closes #5316 2016-06-30 18:54:54 -03:00
Juan Linietsky
b391306828 Make both signals be ordered and samplelibrary items too, fixes scenes changing for git, closes #5289 2016-06-30 18:43:47 -03:00
Juan Linietsky
89bb72b2d3 Only emit item_selected once per Tree row, closes #5280 2016-06-30 17:52:32 -03:00
Paulb23
050a514799 Fixed signal connection prints when moving docks, issue 5498 2016-06-30 15:12:14 +01:00
Timo Schwarzer
185ba75bfa Fix Camera2D header for align() 2016-06-30 16:07:48 +02:00
Rémi Verschelde
a99ca66ce5 Merge pull request #5449 from sanikoyes/Pr-placeholder-line-edit
Add placeholder property for line_edit
2016-06-30 08:06:26 +02:00
Rémi Verschelde
da2f7e3c38 Merge pull request #5419 from djrm/shortcuts
Shortcuts for script switching in script Mode
2016-06-30 08:04:26 +02:00
Rémi Verschelde
fcf6977610 Merge pull request #5487 from Paulb23/function_highlighting_issue_5454
Fixed function highlighting with spaces
2016-06-30 07:57:31 +02:00
Juan Linietsky
ac6257bf8a only call finished signal when it really finishes, closes #5222 2016-06-29 18:46:43 -03:00
Juan Linietsky
449a28e75a make property not be applied in skeleton if not inside tree. This will eventually e changed. Fixes #5205 2016-06-29 18:39:29 -03:00
Juan Linietsky
fe5ee68489 Merge pull request #5429 from Paulb23/selected_text_highlighting_issue_5199
Fixed selected text turning black, issue 5199
2016-06-29 18:31:47 -03:00
Juan Linietsky
e5fc62cc4b remove unnecesary warning, closes #5169 2016-06-29 18:27:12 -03:00
Timo Schwarzer
ae055ebf82 Add align() to realign the Camera2D to its tracked node
align() will center the tracked Node if anchor mode is set to DRAG_CENTER, otherwise the camera is set to the Node's position
2016-06-29 18:17:11 +02:00
Jean Jung
aeb5365e84 Adding support to get the raw text without formatting information from a RichTextLabel. 2016-06-29 12:43:51 -03:00
Timo Schwarzer
6686fbc1e0 Add reset_smoothing() for immediately fixing the camera to the destination location 2016-06-29 17:40:29 +02:00
Paulb23
484f4d8dec Fixed function highlighting with spaces 2016-06-29 15:29:22 +01:00
George Marques
5e0edcc480 Merge pull request #5468 from jejung/itemlist-get-selected_items
itemlist-get_selected_items
2016-06-28 19:21:57 -03:00
Jean Jung
2fd9b77828 itemlist-get_selected_items 2016-06-28 14:09:17 -03:00
Pedro J. Estébanez
a5e27503fd Homogeinize resource formats loaders/savers 2016-06-28 18:27:12 +02:00
Juan Linietsky
5065e46381 Change method of storing folding, solves problems with inheritance, closes #3395 2016-06-28 13:10:15 -03:00
Juan Linietsky
519fce94e9 Remove error when getting dependencies from tscn files in some cases, closes #3897 2016-06-28 12:35:11 -03:00
Juan Linietsky
8e1c0f287d Fixed bug in instance state ordering, closes #3904 2016-06-28 09:47:03 -03:00
sanikoyes
c702981d57 add placeholder alpha property 2016-06-28 11:45:17 +08:00
Juan Linietsky
ba5bc57816 Figured out a way to fix event propagation for shortcuts and some other cases so they properly stop shortcuts if a modal window is open, closes #4848 2016-06-27 20:14:59 -03:00
Juan Linietsky
efdcf205d2 Make most resources (save for packedscenes and scripts) reload if they change on disk. Closes #4059. 2016-06-27 13:17:20 -03:00
Juan Linietsky
88e28af5e3 Add a small workaround to avoid modal tabs to be closed if they are spawned in the same frame, closes #3837 2016-06-27 11:22:13 -03:00
Juan Linietsky
e2d208f122 Ability to rotate controls using tool, closes #3800 2016-06-27 10:47:51 -03:00
Juan Linietsky
47d6cc08bb Properly deliver localized coordinates when passing gui events through parents, closes #4215 2016-06-27 10:00:36 -03:00
sanikoyes
081c400ac6 Add placeholder property for line_edit
this useful for user input tip
2016-06-27 19:47:40 +08:00
Pedro J. Estébanez
6ce47d9b51 Improve parallax mirroring algorithm
Replaces the iterative approach currently used by an equivalent direct computation.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-27 10:40:33 +02:00
Rémi Verschelde
da034f324a Revert "Added toggle for loop interpolation based on adolson's code"
This reverts commits 8884b8f519
bd5c8f2aa0
and 5cb31f6d5b.

<reduz> Akien, I understand the need for the second loop mode, but I think
the current UI is pretty confusing. I think this should be changed for an
enum, both there and in the animation.. otherwise we should revert it
[...]
<reduz> alternatively this could be added per track, which I think should
make it a little less confusing

Reopens #959..
2016-06-26 23:45:18 +02:00
Juan Linietsky
10f411b47b Avoid mirroring to go negative to fix crash, closes #4036 2016-06-26 16:51:13 -03:00
Juan Linietsky
282da142ae Added an option to ParallaxLayer to add an extra scroll offset, helps if you want to make clouds to move by themselves and animate that, for example. 2016-06-26 16:22:20 -03:00
Rémi Verschelde
0be12898a7 Revert "Improve parallax mirroring algorithm" 2016-06-26 18:03:15 +02:00
Juan Linietsky
130b83bc52 Ability to set draw transform as a matrix, closes #5428 2016-06-26 13:01:17 -03:00
Paulb23
7f98f37f13 Fixed selected text turning black, issue 5199 2016-06-26 16:38:16 +01:00
Daniel J. Ramirez
8f259ff5ca Shortcuts for script switching in script Mode 2016-06-26 10:21:02 -05:00
Rémi Verschelde
b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Rémi Verschelde
e4c5a16a2c Merge pull request #5397 from djrm/gizmos_fix
Added high resolution icons for the Gizmos
2016-06-25 10:28:58 +02:00
Daniel J. Ramirez
b8190fbef6 Added high resolution icons for the Gizmos, fixes #1638 2016-06-24 22:42:42 -05:00
Rémi Verschelde
22c9a44174 Merge pull request #5391 from RandomShaper/parallax-layer-fix-tidy
Improve parallax mirroring algorithm
2016-06-24 21:26:54 +02:00
Rémi Verschelde
001294ed35 Merge pull request #5386 from Paulb23/code_completion_color_theme
Exposed code completion colors to the text edit theme
2016-06-24 21:19:30 +02:00
Rémi Verschelde
d52fa2e0eb Merge pull request #5380 from vnen/string-canvasitem-docs
Documentation for String and CanvasItem
2016-06-24 21:16:20 +02:00
Rémi Verschelde
06c6516604 Merge pull request #5379 from neikeq/pr-issue-5375
Fix weird deselection behaviour with text field
2016-06-24 21:14:47 +02:00
Rémi Verschelde
118f54aeeb Merge pull request #5328 from Paulb23/line_edit_caret
Added caret blink to line edit
2016-06-24 21:13:26 +02:00
Pedro J. Estébanez
fbddc0b747 Improve parallax mirroring algorithm
Replaces the iterative approach currently used by the standard fmod() function.
Also fixes infinite looping that happens when the mirroring value is negative.
2016-06-24 18:39:56 +02:00
Paulb23
b643d9af6f Exposed code completion colors to the text edit theme 2016-06-24 16:33:29 +01:00
Ignacio Etcheverry
f1e7552722 Fix weird deselection behaviour with text field
- TextEdit will now deselect if Ctrl+Left/Right is pressed
- TextEdit and LineEdit no longer deselect text when Alt is pressed (except with Apple style keys)
2016-06-24 14:26:40 +02:00
Juan Linietsky
9e0b6057e7 Make button aware of it being dragged and reset state, closes #4178 2016-06-23 18:20:39 -03:00
George Marques
b06d235ce8
Rename CanvasItem.edit_get() to edit_get_state()
This makes more sense of what it does and correlates to edit_set_state()
2016-06-23 17:59:37 -03:00