summaryrefslogtreecommitdiff
path: root/modules/visual_script
AgeCommit message (Collapse)Author
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21Fixes logically dead code (Coverity)Crazy-P
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.
2018-04-15Remove incorrect & potentially confusing references to EulerWill Vincent
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.
2018-04-02Abstracted the syntax highlighter from text editPaulb23
2018-02-27doc: Remove status from hardcoded version stringRémi Verschelde
It has no practical use case and just generates noise for each alpha, beta, etc.
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-19doc: Update version string in headerRémi Verschelde
2018-02-14Merge pull request #15379 from ianb96/delete_key_fixRémi Verschelde
Filesystem and Visual Script Members delete key fix
2018-01-25doc: Fix references to online tutorials after godotengine/godot-docs#1015Rémi Verschelde
2018-01-25doc: Sync with current sourceRémi Verschelde
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).
2018-01-17doc: Replace some more "val" with "value" + syncRémi Verschelde
2018-01-16Fixes for parameter names of builtin functions in visual scripts/coreChaosus
2018-01-15Filled tutorial field in most relevent classes.Juan Linietsky
Added tutorial display in doc.
2018-01-15Make sure PropertyHint matches in the VisualScript editor.K. S. Ernest (iFire) Lee
2018-01-13doc: Update version string in XMLRémi Verschelde
2018-01-12Update docsBojidar Marinov
[ci skip]
2018-01-12Bind many more properties to scriptsBojidar Marinov
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
2018-01-06Filesystem and Visual Script Members keyboard shortcuts fixIan
2018-01-05Add missing copyright headers and fix formattingRémi Verschelde
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-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-17Merge pull request #14754 from willnationsdev/dictionary-copyRémi Verschelde
Added 'duplicate' function for Dictionary in C++ and API.
2017-12-17Dictionary::copy -> ::duplicateWill Nations
2017-12-17Now every variant type has its icon.Daniel J. Ramirez
2017-12-17General use Variant type icons, plus other icon updates.Daniel J. Ramirez
2017-12-17Cleanup some #if 0'd codeRémi Verschelde
2017-12-13Scons: Build modules in seperate env.Andreas Haas
2017-12-09Merge pull request #14358 from RandomShaper/fix-vscriptRémi Verschelde
Fix function arg count not considered in VisualScript
2017-12-07Merge pull request #14332 from akien-mga/clang-formatRémi Verschelde
Update style for clang-format 5.0.0, new min required version
2017-12-07doc: Sync classref after a496dd4d, removing NOEDITOR properties from docRémi Verschelde
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-12-07Fix function arg count not considered in VisualScriptPedro J. Estébanez
2017-12-06Merge pull request #13436 from hoelzl/pr-vs-yield-signal-oneshotRémi Verschelde
Connect signal for VisualScript "Yield Signal" using oneshot mode
2017-12-06Merge pull request #13427 from hoelzl/pr-vs-enable-yieldRémi Verschelde
Make VisualScriptFunctionState instantiable
2017-12-05Fixed typo: substract to subtractIndah Sylvia
2017-12-01Connect signal for VisualScript "Yield Signal" using oneshot modeMatthias Hoelzl
Since the first call to a VisualScriptFunctionState invalidates the state, any further call results in errors.
2017-11-30Make VisualScriptFunctionState instantiableMatthias Hoelzl
2017-11-25Fix constant node value editMarcin Zawiejski
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-24doc: Fix enum tags thanks to 2bc6db6Rémi Verschelde
2017-11-24doc: Remove setters and getters now exposed via properties/membersRémi Verschelde
2017-11-24doc: Update header version for 3.0-betaRémi Verschelde
2017-11-24doc: Sync classref with current sourceRémi Verschelde
2017-11-21Merge pull request #11933 from cxong/masterJuan Linietsky
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-20Add cartesian to polar conversion functionspablotato
2017-11-17Merge pull request #12930 from vnen/gdscrit-output-printJuan Linietsky
Make tool scripts print on the editor Output panel
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-16Add print_error function, akin to print_lineGeorge Marques
2017-11-15doc: Make all module docs self-containedRémi Verschelde
2017-11-15Create API to add and remove VisualScript custom nodesGeorge Marques
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.