summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Merge pull request #11933 from cxong/masterJuan Linietsky2017-11-211-3/+3
|\ | | | | Use "Command" instead of "Meta" for macOS (#1619)
| * Use "Command" for OSX in translation strings (#1619)Cong2017-10-131-3/+3
| |
* | Rename Rect3 to AABB.Ferenc Arn2017-11-171-2/+2
| | | | | | | | Fixes #12973.
* | Create API to add and remove VisualScript custom nodesGeorge Marques2017-11-151-0/+43
| | | | | | | | | | | | | | This makes a VisualScriptEditor singleton, which gives plugins the ability to register their own custom nodes. Those will be available for insertion in the Visual Script editor, under the "Custom Nodes" category.
* | Properly fix node path selection in input ports, closes #12152Juan Linietsky2017-11-121-0/+17
| |
* | (VS) Add space after "=" sign in variable listhomer6662017-10-171-1/+1
|/
* VS now supports white themes.Daniel J. Ramirez2017-10-021-51/+105
|
* Added correct initialization for script editor theme.Daniel J. Ramirez2017-10-021-13/+3
| | | | Some style fixes for VS interface.
* Remove unecessary anchors&margins set causing bad display (sons of containers)Gilles Roudiere2017-09-271-1/+0
|
* Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere2017-09-221-1/+1
| | | | set_anchors_and_margins_preset(PRESET_WIDE)
* Rename pos to position in user facing methods and variablesletheed2017-09-201-11/+11
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Improved VisualScriptEditorDaniel J. Ramirez2017-09-141-10/+25
|
* Merge pull request #11076 from hpvb/fix-10935Rémi Verschelde2017-09-131-294/+303
|\ | | | | Fix crash on wrong type drag into the vs editor
| * Fix crash on wrong type drag into the vs editorHein-Pieter van Braam2017-09-091-294/+303
| | | | | | | | | | | | Don't allow drops of draggable items without a vs node type. This fixes #10935
* | Improved VS node coloringDaniel J. Ramirez2017-09-121-9/+23
| |
* | Improved theme generation, and other fixesDaniel J. Ramirez2017-09-121-1/+1
| |
* | Many fixes to visual script, changed virtuals override for a proper selector.Juan Linietsky2017-09-121-107/+70
|/
* Fix. resizeable -> resizable.Daniel J. Ramirez2017-09-031-1/+1
| | | | (not actually a typo, but the rest of the API uses resizable)
* Fix files headerPoommetee Ketson2017-09-011-1/+1
|
* Renamed 'script_changed' signal in the script editor plugin to ↵Wilson E. Alvarez2017-08-291-12/+12
| | | | 'edited_script_changed'
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Editor: Add some more translatable strings.Andreas Haas2017-08-251-18/+18
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-34/+27
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas2017-08-221-0/+8
|
* Merge pull request #10455 from groud/control_margin_fixesRémi Verschelde2017-08-201-1/+0
|\ | | | | Some control fixes and removed other useless lines
| * Some control fixes and removed useless linesGilles Roudiere2017-08-191-1/+0
| |
* | -Volume sliders, mute, solo and fx bypass are functional, closes #9021Juan Linietsky2017-08-181-1/+1
| | | | | | | | -Fixed tree reselect, makes reselecting an audio bux FX work
* | Update script signals in real-time when script changes. Fixes #8980Juan Linietsky2017-08-181-1/+12
|/
* Merge pull request #10307 from Rubonnek/update-argument-namesRémi Verschelde2017-08-161-6/+6
|\ | | | | Updated function argument names
| * Updated function argument namesWilson E. Alvarez2017-08-121-6/+6
| |
* | Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-1/+1
|/
* Properly rename visual script functions, fixed #6076Juan Linietsky2017-08-081-2/+14
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-2/+2
|
* Do not allow multiple data connections to the same data input slot, fixes ↵Daniel J. Ramirez2017-07-271-0/+10
| | | | #6357.Improved curve rendering when nodes are close.
* Icons can now be added inside line edits (Search icon).Daniel J. Ramirez2017-07-191-4/+1
| | | | | | Fixed window title bar margins. fixed compilation error
* Improvements and fixes for the default theme.Daniel J. Ramirez2017-07-161-3/+4
| | | | Added customizable border size and window highlight.
* -Many fixes to VisualScript, fixed property names, etc.Juan Linietsky2017-06-301-120/+184
| | | | | | -Added ability to set/get a field in GetSet, as well as assignment ops -Added a Select node -Fixed update bugs related to variable list and exported properties, closes #9458
* Merge pull request #9038 from AlexHolly/rect2-rename-posRémi Verschelde2017-06-051-1/+1
|\ | | | | renamed all Rect2.pos to Rect2.position
| * renamed all Rect2.pos to Rect2.positionalexholly2017-06-041-1/+1
| |
* | Added members overviewPaulb232017-05-291-0/+4
|/
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+6
| | | | this might cause bugs I haven't found yet..
* Merge pull request #8631 from volzhs/editor-theme-customRémi Verschelde2017-05-201-2/+2
|\ | | | | New customizable editor theme
| * Revert "Add new editor and default theme (WIP)"volzhs2017-05-031-2/+2
| | | | | | | | This reverts commit f045efe007cffb87238ee519b7f33d710814ded7.
* | Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-3/+0
|/
* Add new editor and default theme (WIP)Daniel J. Ramirez2017-04-271-2/+2
|
* Merge pull request #8417 from neikeq/hello-thereRémi Verschelde2017-04-201-13/+1
|\ | | | | External editor improvements and fixes
| * External editor improvements and fixesIgnacio Etcheverry2017-04-171-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* | Convert indent on savePaulb232017-04-181-0/+6
| |
* | Rename [gs]et_pos to [gs]et_position for ControlsSergey Pusnei2017-04-101-3/+3
|/ | | | | | | | Control set_pos -> set_position Control set_global_pos -> set_global_position [gs]et_mouse_pos -> [gs]et_mouse_position [gs]et_global_mouse_pos -> [gs]et_global_mouse_position fixes #8005