aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/fllib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/fllib.cpp')
-rwxr-xr-xexternals/grill/flext/source/fllib.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/grill/flext/source/fllib.cpp b/externals/grill/flext/source/fllib.cpp
index 77f85dbc..4c66d0b5 100755
--- a/externals/grill/flext/source/fllib.cpp
+++ b/externals/grill/flext/source/fllib.cpp
@@ -354,8 +354,12 @@ flext_hdr *flext_obj::obj_new(const t_symbol *s,int _argc_,t_atom *argv)
flext_obj::m_holdaargv = argv+argc;
// call virtual init function
+ // here, inlets, outlets, methods and attributes can be set up
ok = obj->data->Init();
+ // call another virtual init function
+ if(ok) ok = obj->data->Finalize();
+
flext_obj::m_holdaargc = 0;
flext_obj::m_holdaargv = NULL;
}