aboutsummaryrefslogtreecommitdiff
path: root/modules/visual_script
Commit message (Collapse)AuthorAgeFilesLines
* Remove unecessary anchors&margins set causing bad display (sons of containers)Gilles Roudiere2017-09-271-1/+0
|
* Merge pull request #11424 from groud/control_node_presetsRémi Verschelde2017-09-261-1/+1
|\ | | | | Implements set_margins_preset(...)
| * Remove set_area_as_parent_rect and replace it by ↵Gilles Roudiere2017-09-221-1/+1
| | | | | | | | set_anchors_and_margins_preset(PRESET_WIDE)
* | Fixed constness of variant functions, as well as visual script sequence ↵Juan Linietsky2017-09-251-2/+2
|/ | | | ports. Closes #11258
* Rename pos to position in user facing methods and variablesletheed2017-09-203-18/+18
| | | | | | | | | | | 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.
* Merge pull request #11256 from djrm/pr_visual_improvementsRémi Verschelde2017-09-191-10/+25
|\ | | | | Visual improvements and new look for VS
| * Improved VisualScriptEditorDaniel J. Ramirez2017-09-141-10/+25
| |
* | Move Variant::evaluate() switch to computed gotoHein-Pieter van Braam2017-09-173-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | In an effort to make GDScript a little faster replace the double switch() with a computed goto on compilers that set __GNUC__. For compilers that don't support computed goto it will fall back to regular switch/case statements. In addition disable using boolean values in a mathematical context. Now boolean values can only be compared with other booleans. Booleans will also no longer be coerced to integers. This PR replaces #11308 and fixes #11291
* | Merge pull request #11230 from maxim-sheronov/fix_enum_bindingsThomas Herzog2017-09-153-0/+94
|\ \ | |/ |/| Fix enums bindings
| * Fix enums bindingsMaxim Sheronov2017-09-133-0/+94
| | | | | | | | | | Add missed bindings for enums Move some enums to class to have correct output of api.json
* | Fix 2 typosJeroen2017-09-141-1/+1
| |
* | Merge pull request #11076 from hpvb/fix-10935Rémi Verschelde2017-09-131-293/+302
|\ \ | | | | | | 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-293/+302
| | | | | | | | | | | | | | | | | | Don't allow drops of draggable items without a vs node type. This fixes #10935
* | | Improved VS node coloringDaniel J. Ramirez2017-09-122-9/+24
| | |
* | | 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-123-122/+82
| |
* | Fix unused variable warningsHein-Pieter van Braam2017-09-081-1/+0
|/ | | | The forth in my quest to make Godot 3.x compile with -Werror on GCC7
* Merge pull request #10939 from neikeq/fix-overridden-external-editorsRémi Verschelde2017-09-041-1/+0
|\ | | | | Fixes language overridden external editors
| * Fixes language overridden external editorsIgnacio Etcheverry2017-09-031-1/+0
| |
* | Fix. resizeable -> resizable.Daniel J. Ramirez2017-09-031-1/+1
|/ | | | (not actually a typo, but the rest of the API uses resizable)
* Fix typos 'a' and 'an'Poommetee Ketson2017-09-021-1/+1
|
* Fix use of unitialized variablesHein-Pieter van Braam2017-09-021-1/+1
| | | | The second in my quest to make Godot 3.x compile with -Werror on GCC7
* Fix files headerPoommetee Ketson2017-09-012-2/+2
|
* Merge pull request #10750 from Rubonnek/fix-duplicate-script-changed-signalRémi Verschelde2017-08-301-12/+12
|\ | | | | Renamed 'script_changed' signal in the script editor plugin to 'edited_script_changed'
| * Renamed 'script_changed' signal in the script editor plugin to ↵Wilson E. Alvarez2017-08-291-12/+12
| | | | | | | | 'edited_script_changed'
* | DocData and type hints fixesIgnacio Etcheverry2017-08-291-2/+7
|/ | | | | | | - Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-2718-18/+18
|
* Added/Fixed null pointer checksWilson E. Alvarez2017-08-263-5/+5
|
* Editor: Add some more translatable strings.Andreas Haas2017-08-251-18/+18
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-245-77/+54
| | | | | | | | | | | | 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/
* Merge pull request #10563 from Hinsbart/vs_cancel_selectRémi Verschelde2017-08-232-0/+9
|\ | | | | VisualScriptEditor: Remove Node when canceling PropertySelector.
| * VisualScriptEditor: Remove Node when canceling PropertySelector.Andreas Haas2017-08-222-0/+9
| |
* | Removed unnecessary returns and break statementsWilson E. Alvarez2017-08-221-1/+0
|/
* Merge pull request #10351 from neikeq/enums-are-for-the-weakJuan Linietsky2017-08-214-19/+22
|\ | | | | ClassDB: Provide the enum name of integer constants
| * ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-204-19/+22
| |
* | Merge pull request #10319 from neikeq/pr-engine-editor-hintJuan Linietsky2017-08-202-2/+2
|\ \ | |/ |/| Adds Engine::is_editor_hint() method
| * Removes editor_hint from SceneTreeIgnacio Etcheverry2017-08-192-2/+2
| |
* | 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
| | |
* | | Fix #6583, Condition + Wait nodes freezing the gameBojidar Marinov2017-08-191-4/+7
| | | | | | | | | | | | Make sure that only the first node after VS resume gets resumed
* | | -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
| | |
* | | Add closest_power_of_2 func and implement mix_rate/latency on OS XMarcelo Fernandez2017-08-171-1/+1
|/ /
* | Merge pull request #10307 from Rubonnek/update-argument-namesRémi Verschelde2017-08-166-15/+16
|\ \ | | | | | | Updated function argument names
| * | Updated function argument namesWilson E. Alvarez2017-08-126-15/+16
| |/
* / Replace GUI anchor type by a float between 0 and 1Gilles Roudiere2017-08-131-1/+1
|/
* Removes type information from method bindsIgnacio Etcheverry2017-08-102-9/+9
|
* Adds missing type information to virtual method bindsIgnacio Etcheverry2017-08-101-1/+1
|
* Ability to set a function as sequenced, so when called you can choose not to ↵Juan Linietsky2017-08-083-12/+55
| | | | use sequence ports. Fixes #6346
* Properly rename visual script functions, fixed #6076Juan Linietsky2017-08-081-2/+14
|