Commit graph

101 commits

Author SHA1 Message Date
Łukasz Rutkowski
e8a435c8cd Add clear text button to LineEdit
- Add pressed state to clear button
- Enable clear button on all inputs with search icon
- Remove duplicate clear buttons
- Fix rendering of icon for center and right alignments
- Add clear button to more search fields
- Add clear icon to default theme
- Add method to control enabled state of clear button
- Add property to enable clear button from inspector
2018-08-11 12:04:26 +02:00
Hugo Locurcio
1368bcfc53
Use a standard "OK" text for confirmation buttons in error dialogs
[ci skip]
2018-08-05 16:49:22 +02:00
Juan Linietsky
7b63c6323d Clear color was not correctly being set, fixes #4939 2018-07-29 15:09:42 -03:00
Juan Linietsky
0fcc28b6f3
Merge pull request #15269 from ianb96/context_menu_improvements
Context Menu Improvements
2018-07-29 12:31:20 -03:00
Ian
1bb13e95a8 context menu improvements 2018-07-26 08:58:35 -04:00
Will Nations
3de15363ab Add script hierarchies,add-script btn auto-derives 2018-07-25 15:18:45 -05:00
Rémi Verschelde
1f6fedeb37
Merge pull request #19729 from razcore-art/rename-discard-instancing
Rename 'Discard Instancing' to 'Make Local'
2018-07-24 20:51:53 +02:00
Juan Linietsky
c0c243ac5c New option, make any node the new scene root. 2018-07-15 23:52:57 -03:00
Juan Linietsky
512ffd489a Small feature to help users understand the editor faster. 2018-07-15 23:11:29 -03:00
Răzvan C. Rădulescu
e8315f306c Rename 'Discard Instancing' to 'Make Local'
Rename the option in the right click menu in the Scene nodes
because Discard Instancing is confusing (it could imply deleting the
instance). I renamed it to Make Local which is used for example in
Blender as well when talking about appending assets from other files.
I think it's clearer. Or it can be renamed to Make Instance Local, but I
thought it's a bit oo long so I went just with Make Local as this option
appears in the menu only when the node is an instance anyway.
2018-06-25 15:54:05 +02:00
Rémi Verschelde
a6c9b11de1
Merge pull request #19437 from volzhs/live-edit-reparent-child
Make same child index as edited scene when using live edit
2018-06-08 08:10:46 +02:00
volzhs
cad3c41a91 Make same child index as edited scene when using live edit 2018-06-08 07:40:43 +09:00
Juan Linietsky
b659fd6d74 Entirely new (and much improved) animation editor. 2018-06-07 12:52:00 -03:00
steincodes
25704427b5 Removing Duplicate Batch Rename from scene-tree menu 2018-05-30 18:03:08 +05:30
Zirak
595d377062 Instance scene at root by default
Fix bug in cdcfb9582e leading to the
root node not being selected by default.

Fix #18557.
2018-05-26 14:09:07 +00:00
Juan Linietsky
4b5227ff77 -Ability to open resources in the same window
-Plenty of fixes and improvements to new inspector
-Fixes that were needed to make inspector work better
2018-05-17 18:03:05 -03:00
Eoin O'Neill
1378ca1e04 Added Rename Context Menu Option for SceneTreeDock 2018-05-16 23:27:07 +02:00
Juan Linietsky
005b69cf6e -New inspector.
-Changed UI resizing code, gained huge amount of speed.
-Reorganized timer sync to clean up behavior (sorry forgot commit this before)

-
2018-05-15 17:14:31 -03:00
Rémi Verschelde
64cb61619a
Merge pull request #15928 from StateOff/feature_batch_rename
Implements "Batch Rename" editor tool.
2018-05-08 07:36:24 +02:00
Unknown
cdcfb9582e Defaults to instancing child at tree root when none selected
If no node is selected, it will default to selecting the tree root node to instance a child under. This solves #18557
2018-05-06 15:10:57 +01:00
Hugo Locurcio
1c419531a0 Change ".." punctuation for "..." in editor strings (#16507) 2018-04-22 19:36:01 +02:00
Juan Linietsky
d59ff07c1e
Merge pull request #17717 from NikodemL/master
Extended node rename function to also support renaming  node path script instance property
2018-04-07 16:46:49 -03:00
Nikodem Lokatelj
66d2cd3918 perform_node_renames fix for a case where the new name is empty 2018-03-30 14:49:21 +02:00
Michael Alexsander Silva Dias
7cbf301f31 Fixed some popups not shrinking their size back when losing items. 2018-03-28 17:04:37 -03:00
Nikodem Lokatelj
6eac0f6817 Extended node renames function to also rename script instance node path properties and fixed animation rename bug perform_node_renames function now also checks for any script instance with node paths so they also get renamed to point to new paths. This also fixes a bug with animation player renaming where two nodes had the same name. 2018-03-23 12:59:31 +01:00
Rémi Verschelde
32c726f7cd
Merge pull request #17344 from poke1024/multi-add-clear-script
Allow Attach and Clear Script on multiple nodes
2018-03-23 11:37:18 +01:00
robfram
8ea4ea0d53 Fix overwriting all common properties when using Change Type tool
If you change the type of an existing node, it checks if you have
modified the initial value of their properties before overwriting
their values in the new node.

For example, if you created a `Label` and changed it to
`LineEdit`, the `mouse_filter` property was created as `Ignore`
for the original `Label` node, and was maintained after changing
it to `LineEdit` causing not to work as expected. Now it checks if
`Ignore` is the default value for `Label` nodes, and as it is, the
property value is left unchanged, maintaining the default value
for `LineEdit`, which is `Stop`.

Fix #13955 and alike.
2018-03-09 19:05:04 +01:00
poke1024
22fde84beb Allow Add and Clear Script on multiple nodes 2018-03-09 08:38:37 +01:00
Juan Linietsky
9e3a1e5401 Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion. 2018-02-21 09:39:09 -03:00
Unknown
d002b7d24a Fix Automatic switch to viewport when playing a scene #16357 2018-02-18 23:37:30 +01:00
ianb96
4e96e04389 disable scene tree shortcuts when in a textfield 2018-02-03 19:58:51 -05:00
Blazej Floch
e58b10c883 Implements "Batch Rename" editor tool. 2018-01-22 00:43:19 -05:00
binbitten
1e9fbcf36c Fix clicking on sub-resources in a node's right-click menu 2018-01-13 09:05:50 +01:00
Gilles Roudiere
ff8fe3d875 Fixes add script button update 2018-01-11 22:22:32 +01:00
Pedro J. Estébanez
1bdde70dd0 Fix crash on save-branch-as-scene 2018-01-10 21:16:25 +01:00
Blazej Floch
9d3eb3d2b0 Fixes #15416 - "The deleted nodes are hanging in the inspector." 2018-01-08 03:12:41 -05:00
Rémi Verschelde
e4213e66b2 Add missing copyright headers and fix formatting
Using `misc/scripts/fix_headers.py` on all Godot files.
Some missing header guards were added, and the header inclusion order
was fixed in the Bullet module.
2018-01-05 01:22:23 +01:00
Michael Alexsander Silva Dias
a6a2ea7a5e Made the Create Dialog be clearer when it's changing a type of something. 2018-01-03 13:33:25 -02:00
Rémi Verschelde
b50a9114b1 Update copyright statements to 2018
Happy new year to the wonderful Godot community!
2018-01-01 14:40:47 +01:00
Noshyaar
e6b6683694
Merge pull request #14991 from djrm/pr_fixes
Show Options Dialog for NodePath and File in clicked button position.
2017-12-27 10:29:25 +07:00
Daniel J. Ramirez
07fd5456c8 Show Options Dialog for NodePath and File in clicked button position.
Auto select newly created nodes.
2017-12-23 15:15:48 -06:00
Ray Koopa
69ef89a8bd Limit code editor minimum width, clear Scene node subresource menu before refilling it 2017-12-19 18:29:01 +01:00
volzhs
002a0271fe Show sub-resources as sub-menu 2017-12-17 23:55:24 +09:00
sersoong
a2981f555a Enhanced changeType menu in Scene Tree Dock 2017-12-16 09:53:24 +08:00
Michael Alexsander Silva Dias
8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
sersoong
c8d6a3b6dc Fix doesn't close open a file window bug 2017-11-25 13:03:43 +08:00
sersoong
feb45aaf4b Fix context menu of first node in a new scene 2017-11-24 12:32:57 +08:00
geequlim
9ef720908f Improved update for remote scene tree and remote object. 2017-11-23 15:23:24 +08:00
geequlim
2f5defab0e Add editor setting to allow keep show local scene tree while debugger start.
Rename editor setting scene_tree_refresh_interval to remote_scene_tree_refresh_interval.
2017-11-22 21:53:01 +08:00
Rémi Verschelde
613d374bc5
Merge pull request #12284 from bojidar-bg/allow-subproperty-set
Allow for getting/setting "dotted" properties of objects
2017-11-21 22:44:14 +01:00