Commit graph

1481 commits

Author SHA1 Message Date
Rémi Verschelde c58c490d45 Merge pull request #7934 from lonesurvivor/area2d-fix_2.1
2.1: Fixes two problems with Area2D and remove_child()
2017-03-04 16:57:23 +01:00
lonesurvivor 5b556cab25 Fixes two problems with Area2D and remove_child()
- When one of two or more overlapping Area2Ds is removed with remove_child(), it doesn't try to report to the
other one anymore
- When overlappinng Area2Ds are removed woth remove_child(), _enter_tree and _exit_tree signals are now
properly disconnected upon removal
2017-03-03 11:36:50 +01:00
volzhs 4a8d2b676e Fix wrong TreeItem reference after reconstructing 2017-03-03 03:51:23 +09:00
Rémi Verschelde 43574f65da Merge pull request #7909 from RandomShaper/cp-tileset-modulate-2.1
Cherry-pick modulate (color) for TileSet tiles (2.1)
2017-03-01 10:08:01 +01:00
Pedro J. Estébanez b6721caa13 Add modulate (color) to TileSet tiles
(cherry picked from commit 86789c7071)
2017-03-01 03:21:47 +01:00
Rémi Verschelde d79f44da62 Merge pull request #7852 from volzhs/cache-font-2.1
Cache DynamicFont resource for Android (2.1)
2017-02-27 23:35:35 +01:00
Rémi Verschelde ee9f31a5cc Merge pull request #7716 from GodotExplorer/pr-resizable-texturebutton
[2.1] Enhance TextureButton and TextureFrame with resize
2017-02-27 23:30:53 +01:00
Rémi Verschelde e9e5affda1 Merge pull request #7896 from RandomShaper/particles2d-process-mode-2.1
Add process mode option to Particles2D (2.1)
2017-02-27 14:03:46 +01:00
Pedro J. Estébanez 7e90b98db2 Add process mode option to Particles2D 2017-02-27 10:45:06 +01:00
Rémi Verschelde f67881bada Merge pull request #7873 from volzhs/issue-7820
Fix crash when click icon while editing node name (2.1)
2017-02-26 20:27:53 +01:00
Rémi Verschelde 6490e9ae5b Merge pull request #7868 from RandomShaper/fix-touchbutton-crash-2.1
Fix crash if TouchScreenButton is pressed while exiting the tree (2.1)
2017-02-26 20:27:35 +01:00
Rémi Verschelde 902288cc8c Merge pull request #7855 from RandomShaper/add-duplicate-flags-2.1
Add flags parameter to Node.duplicate()
2017-02-26 20:23:55 +01:00
volzhs 3d817ac73a Fix crash when click icon while editing node name 2017-02-23 02:16:49 +09:00
volzhs 71a5b0885b Cache DynamicFont resource for Android 2017-02-22 22:54:19 +09:00
Pedro J. Estébanez 5b8d5766f4 Fix crash if TouchScreenButton is pressed while exiting the tree 2017-02-22 01:36:31 +01:00
Pedro J. Estébanez bbbc3a91c9 Add flags parameter to Node.duplicate()
to decide whether signals, groups and/or scripts should be set in the copied nodes or not; it's default value makes the method work as usual, that is, including everything
2017-02-20 19:43:26 +01:00
geequlim a7ec7dcd12 Add scale property back for backwards compatibility
now we have a choice
Fix textureframe modulate doesn't work with STRETCH_KEEP_ASPECT_CENTERED and STRETCH_KEEP_ASPECT
2017-02-13 20:04:21 +08:00
Juan Linietsky ebb7d2cdb7 -WIP Exporter to Godot 3.0, only text scenes (no .scn) and still kind of buggy 2017-02-12 23:13:14 -03:00
Rémi Verschelde f50b4f5cb2 Merge pull request #7754 from volzhs/tr-buttonarray
Translate ButtonArray text
2017-02-12 23:19:52 +01:00
Rémi Verschelde 3b09d77208 Merge pull request #7721 from RandomShaper/improve-touch-button-2.1
Fix touch button issues (2.1)
2017-02-12 23:12:14 +01:00
Rémi Verschelde 4e9f88b649 Merge pull request #7719 from RandomShaper/backport-code-edit-goodies-2.1
Backport goodies for the code editors (2.1)
2017-02-12 23:11:31 +01:00
Pedro J. Estébanez c0f7b80b89 Solve TouchScreenButtons issues
Fix touch button needing double tap after pause (applies to those not set to pass-by)
Fix error when a pressed TouchScreenButton with no associated action exits the tree
(with some refactoring of duplicate code)
2017-02-10 20:53:35 +01:00
volzhs e0f00a549c Translate ButtonArray text 2017-02-08 08:38:36 +09:00
Pedro J. Estébanez 0dbfb864ad Backport goodies for the code editors
Refactor duplicated code (from 0159e4f969)
Add line length guideline to code editors (from d9c1729a8f)
Allow turning off zero-padding for line numbers (from 00b3af246b)
(In 3.0 zero-padding is off by default, but for 2.1 I'm setting the default to be on because it's how it always worked.)
Fixed line lenght guideline drawing with color option (from @Paulb23's 6b42cd5fe6)
2017-02-04 16:24:33 +01:00
geequlim 58a700e43e Make same resize behavior for TextureButton with TextureFrame.
Remove property 'scale' of TextureButton which is not required any more.
2017-02-04 14:56:26 +08:00
geequlim 0c1c34ef22 Add Keep Covered texture resize mode 2017-02-04 14:26:50 +08:00
William Tumeo f3bc5d443c Add ColorFrame control (2.1)
- cherry-pick from 95eb7466df
2017-02-02 18:22:03 -02:00
Rémi Verschelde 6b1d33ec71 Merge pull request #7650 from pkowal1982/fix_7011
Fix #7011 ScrollContainer takes into account child's EXPAND flag when scrolling is enabled
2017-02-02 08:09:09 +01:00
Rémi Verschelde 4a73e74ccb Merge pull request #7641 from RandomShaper/touch-button-shape
Touch button shape (2.1)
2017-02-02 08:05:26 +01:00
Pawel Kowal e9316a009e Fix #7011 ScrollContainer takes into account child's EXPAND flag when scrolling is enabled 2017-01-26 10:02:19 +01:00
Pedro J. Estébanez 888f8b31e7 Improve .tscn VCS
Serialize dictionaries adding newlines between key-value pairs
Serialize group lists also with newlines in between
Serialize string properties escaping only " and \ (needed for a good diff experience with built-in scripts and shaders)

Bonus:
Make AnimationPlayer serialize its blend times always sorted so their order is predictable in the .tscn file.

This PR is back-compat; won't break the load of existing files.

Cherry-picked from 7dbb1c0571
2017-01-25 20:11:10 +01:00
Pedro J. Estébanez 67a0da34a2 Add shape property to TouchScreenButton 2017-01-25 17:06:06 +01:00
Juan Linietsky 25a62a3e32 Added a few functions to make 2D split screen easier.
(cherry picked from commit a4156f1f0a)
2017-01-12 20:53:03 +01:00
Fabio Alessandrelli b61d7e6261 Restore viewport set_world_2d functionality
(cherry picked from commit 97cf3eba56)
2017-01-12 19:44:22 +01:00
Bruno Ortiz 01b8beb023 Making deselect work for TreeItem when select_mode is SELECT_SINGLE and item_selected is now properly emitted
(cherry picked from commit 4b9a96859b)
2017-01-12 19:15:30 +01:00
Wilhem Barbier 0b6d4e92b5 Add the 'finished' signal to AnimatedSprite
(cherry picked from commit f6262fde11)
2017-01-12 19:15:30 +01:00
Rémi Verschelde d8223ffa75 Welcome in 2017, dear changelog reader!
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!

(cherry picked from commit c7bc44d5ad)
2017-01-12 19:15:30 +01:00
Ignacio Etcheverry b5bdc60f58 TileMap: _update_dirty_quadrants() cancel pending update pre return
(cherry picked from commit 5b3acd287d)
2017-01-12 19:15:29 +01:00
ktksgit 1bb1b6986c Update DebugMesh when NavMesh changes
Fixes #7371
(cherry picked from commit 2807507325)
2017-01-12 19:15:29 +01:00
Bojidar Marinov 27a801df99 Fix #7098 by not accepting right clicks while dragging the range
(cherry picked from commit d40eb1565e)
2017-01-12 19:15:28 +01:00
volzhs f520e7788e Show visual notice for visibility on Scene Dock
(cherry picked from commit f33e21e7af)
2017-01-12 19:15:28 +01:00
volzhs 580031e6f5 Able to change visibility when ancestor node is hidden
(cherry picked from commit 792ff11642)
2017-01-12 19:15:28 +01:00
volzhs d5e4011bc3 Scroll horizontally with mouse wheel when horizontal enabled only
(cherry picked from commit 22b76511fb)
2017-01-12 19:15:28 +01:00
chanon 1397019424 fix ColorPicker not correctly updating after pasting hex html color
(cherry picked from commit 0bf5d86546)
2017-01-12 19:15:28 +01:00
Elia Argentieri 9b0be3753b Expose set_bone_name and get_bone_name to GDscript
(cherry picked from commit b96e2e1126)
2017-01-12 19:15:28 +01:00
Ivan P. Skodje 0701e7c2d8 PopupMenu upgrade: Hide on item selection (#7306)
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item

* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory

(cherry picked from commit da950cd0f2)
2017-01-12 19:15:28 +01:00
volzhs dbeb1ca114 Fix duplicated string on RichTextLabel if starts with '\n'
Fix #6212, #3773

(cherry picked from commit 0ecc968c5c)
2017-01-12 19:15:28 +01:00
Ignacio Etcheverry a282579f5c Register SpatialGizmo as a scene type
(cherry picked from commit ce41464fc0)
2017-01-12 19:15:27 +01:00
Johnson Earls f08aa02688 Fix search to find "whole" words at end of line
Fix `_get_column_pos_of_word` so that the `SEARCH_WHOLE_WORDS` flag will properly find words that are at the end of a line.

Fixes #7326 .
(cherry picked from commit d1cf29fe99)
2017-01-12 19:15:27 +01:00
Bojidar Marinov c5bff5073e Fix #7303, Quad node mesh data leak
(cherry picked from commit 7504a015aa)
2017-01-12 19:15:27 +01:00