Commit Graph

4500 Commits

Author SHA1 Message Date
Rémi Verschelde 8d497301d4 Merge pull request #5055 from djrm/new_icons
Added missing icons for some nodes, changed instance icon
2016-06-05 23:01:49 +02:00
Rémi Verschelde c1a18039c8 Merge pull request #5053 from Hinsbart/fix_editor_events
fix ui_* input events in Editor
2016-06-05 23:01:05 +02:00
Pawel Kowal 494847f0d1 Improved Blender/Collada -colonly import creating collision shapes for empties 2016-06-05 20:59:21 +02:00
Saracen 1dab0aab7c Bitmask import plugin 2016-06-05 19:14:39 +01:00
Dennis Brakhane 1e068d34f4 Add support for Python-like negative indexing
Negative indexing is a useful feature in Python, especially when combined
with array slicing. Array slicing will hopefully be implemented later, but
negative indexing is useful in its own right.

A negative index is indexing from the end of an array,
"array[-1] == array[array.size()-1]", using a negative index
larger/smaller than the length of the array is still an error.

While primarily useful for arrays and strings, support is also added to
"array like" structures like Vector3 and Color. This is done just
to be consistent; vector3[2] is much clearer than vector3[-1], but disallowing
it while allowing it for an array with 3 elements seems confusing.
2016-06-05 20:00:54 +02:00
Dennis Brakhane 842057e56f Move repetitive code to macros
In preparation for the following "allow negative indexing" commit,
replace the repetitive array "set index" and "get index" code with
macros.

no functional changes were made, the resulting machine code is unchanged.
2016-06-05 20:00:54 +02:00
Daniel J. Ramirez 7398d696d0 Added missing icons for some nodes, changed instance icons 2016-06-05 12:53:01 -05:00
eska 3acbf8e71f Fix implicit GDScript Reference inheritance 2016-06-05 19:17:33 +02:00
Andreas Haas a9779efe82 fix ui_* input events in Editor
`input/` is the category for these in globals ^^
fixes #5050
2016-06-05 19:06:57 +02:00
Rémi Verschelde a0ac4293c1 Merge pull request #5052 from volzhs/fix-label-min-size
Fix min size bug of Label
2016-06-05 17:14:59 +02:00
volzhs f792f63b03 Fix min size bug of Label
caused by #5030
2016-06-06 00:09:02 +09:00
J08nY dcce477f5e
Added Dictionary.values() 2016-06-05 14:50:06 +02:00
Rémi Verschelde 56348cbbfe Merge pull request #5047 from bojidar-bg/document-viewport-viewportsprite
Document Viewport and ViewportSprite
2016-06-05 14:34:14 +02:00
Bojidar Marinov 662e0cc411 Document Viewport and ViewportSprite classes 2016-06-05 14:51:44 +03:00
Bojidar Marinov 9e0921e038 Sync with -doctool 2016-06-05 14:47:12 +03:00
Rémi Verschelde 673105feb9 Merge pull request #5038 from djrm/new_icons
New icons
2016-06-05 09:29:44 +02:00
Juan Linietsky 64fd75d91a Make Input Actions config not affect the editor 2016-06-05 01:19:42 -03:00
Juan Linietsky cee94b6119 changed TTR for RTR 2016-06-05 00:25:15 -03:00
Juan Linietsky c1028b9011 fix for travis 2016-06-04 21:45:50 -03:00
Juan Linietsky 007efb6a20 -customizable shortcuts in editor
-editor settings now save to .tres instead of .xml
-buttons can now hold a shortcut
2016-06-04 21:31:47 -03:00
Daniel J. Ramirez 4389388d4e Added 2x PNG versions of the icons 2016-06-04 15:52:35 -05:00
Daniel J. Ramirez 50fd5edb9e Added basic script to convert source svgs to pngs 2016-06-04 14:42:43 -05:00
Rémi Verschelde 279b7921e8 Merge pull request #5036 from J08nY/inputmap-actions
Added InputMap.get_actions()
2016-06-04 21:37:57 +02:00
Rémi Verschelde 2884faf55b Merge pull request #4999 from volzhs/fix-project-path
change invalid characters when get user data dir on Windows & Unix
2016-06-04 21:37:47 +02:00
Daniel J. Ramirez 2ddaf41777 New icons, almost all the icons have an svg version, plus a more consistent look 2016-06-04 14:01:36 -05:00
Geequlim 5894060abb Enhanced StyleBoxTexture:
Add texture region support for StyleBoxTexture.
  Quick region(texture region and scale region) selection for StyleBoxTexture with TextureRegionEditorPlugin.
2016-06-05 00:45:53 +08:00
Geequlim 9546b2ffd4 Add plugin to pick texture region and patch margins for Patch9Frame 2016-06-05 00:45:53 +08:00
Geequlim dc3cef7c4d Add texture region support for Patch9Frame 2016-06-05 00:45:53 +08:00
Geequlim fdf914e53e Add texture region support for stylebox render 2016-06-05 00:45:53 +08:00
Rémi Verschelde 5b6a8eca94 Merge pull request #5035 from marcelofg55/master
Right click->Quit on the godot icon will close the application on OSX
2016-06-04 18:43:43 +02:00
Juan Linietsky 3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03:00
J08nY 1a80b2a04a
Added InputMap.get_actions()
get_actions() lists all actions in the InputMap.
2016-06-04 17:56:30 +02:00
Saracen b160a26abd Expose control theme element and override detection methods to scripting side. 2016-06-04 16:42:07 +01:00
marcelofg55 76ab7d3886 Right click->Quit on the godot icon will now close the application on OSX.
Fixed get_window_position that missed a return on OSX.
2016-06-04 12:35:00 -03:00
Rémi Verschelde 280e3611b9 Merge pull request #5032 from akien-mga/pr-defaut-linear-damp
Physics2D: Rename default_density to default_linear_damp
2016-06-04 16:08:37 +02:00
Rémi Verschelde f1cd33b539 Merge pull request #5030 from sanikoyes/Pr-fix-label-minsize
fix line_edit&label get min size bug&draw problem
2016-06-04 16:08:25 +02:00
Rémi Verschelde 4b0bae9799 Merge pull request #5027 from J08nY/gdscript
Add Array.find_last() and Array.count()
2016-06-04 16:07:48 +02:00
Rémi Verschelde 992a76b41a Merge pull request #5023 from volzhs/deselect-help
deselect in help when click somewhere
2016-06-04 15:58:07 +02:00
Rémi Verschelde 0e122566d0 Merge pull request #5022 from vnen/pr-fix-color8
Fix Color8 constructor using wrong value range
2016-06-04 15:57:36 +02:00
Rémi Verschelde 95773c4785 Merge pull request #4943 from marcelofg55/master
Key modifiers (Ctrl, Alt, Meta and Shift) may be used as Input keys n…
2016-06-04 15:36:24 +02:00
Rémi Verschelde cbba9c4506 Merge pull request #4300 from leezh/control_focus_mode
Exposed Control::focus_mode to the scene editor
2016-06-04 14:41:36 +02:00
Rémi Verschelde a068152ba0 Physics2D: Rename default_density to default_linear_damp
Also adds a proper deprecating warning and tries to do some porting automatically.
Supersedes #4109.
2016-06-04 14:05:53 +02:00
sanikoyes 5f7b42cb87 fix line_edit&label get min size bug
fix line_edit draw char(x ofs_max)
2016-06-04 18:10:11 +08:00
Rémi Verschelde f32f467154 Merge pull request #4994 from Warlaan/create_dialog_starts_collapsed
The create node dialog now starts collapsed.
2016-06-04 10:29:58 +02:00
Warlaan 987192775a The create dialog starts collapsed now.
The original behavior can be reactivated in the editor settings.
2016-06-04 10:26:58 +02:00
Juan Linietsky 26332479d3 Signals became a tab
added icons to contextual scene tree menu
2016-06-03 21:03:22 -03:00
J08nY 5f5ca8cd9b Added Array.find_last() and Array.count() 2016-06-03 23:36:02 +02:00
Rémi Verschelde cd56cad9ac Merge pull request #5025 from J08nY/master
Fix typo in http_client.h
2016-06-03 22:17:24 +02:00
J08nY b4fb4a131d Fix typo in http_client.h 2016-06-03 21:48:20 +02:00
volzhs bf22e69822 deselect in help when click somewhere 2016-06-04 03:11:34 +09:00