aboutsummaryrefslogtreecommitdiff
path: root/modules/visual_script
Commit message (Collapse)AuthorAgeFilesLines
* Add support for tutorial links to makerst.pyrobojumper2018-06-121-1/+1
| | | | Also change the <tutorials> structure to make use of individual <link> tags
* SCons: Pass env to modules can_build methodRémi Verschelde2018-05-301-1/+1
| | | | | | This allows to disable modules based on the environment, in particular `env[tools]` which tells us if we are building the editor or not.
* Refactor RPCMode enum and checksFabio Alessandrelli2018-05-294-14/+14
|
* Revert "RPCMode refactor, more sync modes"Max Hilbrunner2018-05-294-14/+14
|
* Merge pull request #19021 from Faless/rpc_sync_fixMax Hilbrunner2018-05-294-14/+14
|\ | | | | RPCMode refactor, more sync modes
| * Refactor RPCMode enum and checksFabio Alessandrelli2018-05-264-14/+14
| |
* | Merge pull request #18516 from PJB3005/18-04-30-visual-script-title-barsMax Hilbrunner2018-05-2610-250/+133
|\ \ | |/ |/| Move things into the title bars of Visual Script nodes.
| * More stuff!Pieter-Jan Briers2018-05-014-193/+85
| |
| * Move things into the title bars of Visual Script nodes.Pieter-Jan Briers2018-04-309-60/+51
| | | | | | | | | | | | This is an attempt to make VS slightly nicer to use. WiP.
* | -New inspector.Juan Linietsky2018-05-151-1/+1
| | | | | | | | | | | | | | -Changed UI resizing code, gained huge amount of speed. -Reorganized timer sync to clean up behavior (sorry forgot commit this before) -
* | Merge pull request #18514 from neikeq/api-hash-fixesRémi Verschelde2018-05-031-0/+2
|\ \ | | | | | | API hash fixes
| * | Fix binding some core API methods only in tools buildsIgnacio Etcheverry2018-04-291-0/+2
| |/
* | Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-012-2/+1
|\ \ | | | | | | Fix Coverity reports of uninitialized scalar variable
| * | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-192-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* | | Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde2018-05-011-6/+1
|\ \ \ | |_|/ |/| | Fixes logically dead code (Coverity)
| * | Fixes logically dead code (Coverity)Crazy-P2018-04-211-6/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
* / Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-3/+3
|/
* Remove incorrect & potentially confusing references to EulerWill Vincent2018-04-152-3/+3
| | | | | | e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion. e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid.
* Abstracted the syntax highlighter from text editPaulb232018-04-022-0/+9
|
* doc: Remove status from hardcoded version stringRémi Verschelde2018-02-2745-45/+45
| | | | It has no practical use case and just generates noise for each alpha, beta, etc.
* Fix typos with codespellluz.paz2018-02-212-5/+5
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* doc: Update version string in headerRémi Verschelde2018-02-1945-45/+45
|
* Merge pull request #15379 from ianb96/delete_key_fixRémi Verschelde2018-02-142-6/+39
|\ | | | | Filesystem and Visual Script Members delete key fix
| * Filesystem and Visual Script Members keyboard shortcuts fixIan2018-01-062-6/+39
| |
* | doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde2018-01-251-1/+1
| |
* | doc: Sync with current sourceRémi Verschelde2018-01-2545-45/+45
| | | | | | | | | | | | Also enhance RigidBody docs as per https://github.com/godotengine/godot-docs/pull/1018 and fix the version tag in all files (not really stable yet, but it makes no sense to hardcode rc3 at this stage).
* | doc: Replace some more "val" with "value" + syncRémi Verschelde2018-01-171-1/+1
| |
* | Fixes for parameter names of builtin functions in visual scripts/coreChaosus2018-01-161-8/+8
| |
* | Filled tutorial field in most relevent classes.Juan Linietsky2018-01-151-0/+1
| | | | | | | | Added tutorial display in doc.
* | Make sure PropertyHint matches in the VisualScript editor.K. S. Ernest (iFire) Lee2018-01-151-1/+2
| |
* | doc: Update version string in XMLRémi Verschelde2018-01-1345-45/+45
| |
* | Update docsBojidar Marinov2018-01-121-14/+2
| | | | | | | | [ci skip]
* | Bind many more properties to scriptsBojidar Marinov2018-01-123-12/+12
| | | | | | | | | | | | | | Notable potentially breaking changes: - PROPERTY_USAGE_NOEDITOR is now PROPERTY_USAGE_STORAGE | PROPERTY_USAGE_NETWORK, without PROPERTY_USAGE_INTERNAL - Some properties were renamed, and sometimes even shadowed by new ones - New getter methods (some virtual) were added
* | Add missing copyright headers and fix formattingRémi Verschelde2018-01-0518-3/+21
|/ | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-0118-36/+36
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #14754 from willnationsdev/dictionary-copyRémi Verschelde2017-12-171-3/+3
|\ | | | | Added 'duplicate' function for Dictionary in C++ and API.
| * Dictionary::copy -> ::duplicateWill Nations2017-12-171-3/+3
| |
* | Now every variant type has its icon.Daniel J. Ramirez2017-12-171-8/+8
| |
* | General use Variant type icons, plus other icon updates.Daniel J. Ramirez2017-12-171-52/+52
| |
* | Cleanup some #if 0'd codeRémi Verschelde2017-12-172-949/+0
|/
* Scons: Build modules in seperate env.Andreas Haas2017-12-131-1/+4
|
* Merge pull request #14358 from RandomShaper/fix-vscriptRémi Verschelde2017-12-091-0/+1
|\ | | | | Fix function arg count not considered in VisualScript
| * Fix function arg count not considered in VisualScriptPedro J. Estébanez2017-12-071-0/+1
| |
* | Merge pull request #14332 from akien-mga/clang-formatRémi Verschelde2017-12-071-3/+3
|\ \ | | | | | | Update style for clang-format 5.0.0, new min required version
| * | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-3/+3
| |/
* / doc: Sync classref after a496dd4d, removing NOEDITOR properties from docRémi Verschelde2017-12-078-42/+42
|/
* Merge pull request #13436 from hoelzl/pr-vs-yield-signal-oneshotRémi Verschelde2017-12-061-1/+1
|\ | | | | Connect signal for VisualScript "Yield Signal" using oneshot mode
| * Connect signal for VisualScript "Yield Signal" using oneshot modeMatthias Hoelzl2017-12-011-1/+1
| | | | | | | | | | Since the first call to a VisualScriptFunctionState invalidates the state, any further call results in errors.
* | Merge pull request #13427 from hoelzl/pr-vs-enable-yieldRémi Verschelde2017-12-061-1/+1
|\ \ | | | | | | Make VisualScriptFunctionState instantiable
| * | Make VisualScriptFunctionState instantiableMatthias Hoelzl2017-11-301-1/+1
| |/