Even more work on visual script editor:

-Added constructor nodes, specialized and conversion ones.
-Cleaned up how unconnected input default values are shown and edited (much cleaner)
-Dragging scene nodes into graph makes a call dialog appear by deault
-Dragging properties into graph is set by default, not get
-fixed dragging internal functions into graph
This commit is contained in:
Juan Linietsky
2016-08-26 17:34:25 -03:00
parent 2e541e3b49
commit 47c35a2017
5 changed files with 410 additions and 47 deletions

View File

@@ -67,6 +67,8 @@ void register_visual_script_types() {
ObjectTypeDB::register_type<VisualScriptCustomNode>();
ObjectTypeDB::register_type<VisualScriptSubCall>();
ObjectTypeDB::register_type<VisualScriptComment>();
ObjectTypeDB::register_type<VisualScriptConstructor>();
ObjectTypeDB::register_type<VisualScriptFunctionCall>();
ObjectTypeDB::register_type<VisualScriptPropertySet>();
@@ -104,6 +106,8 @@ void register_visual_script_types() {
void unregister_visual_script_types() {
unregister_visual_script_nodes();
ScriptServer::unregister_language(visual_script_language);
if (visual_script_language)