aboutsummaryrefslogtreecommitdiff
path: root/externals/grill
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill')
-rwxr-xr-xexternals/grill/dynext/readme.txt8
-rw-r--r--externals/grill/dynext/src/main.cpp13
2 files changed, 10 insertions, 11 deletions
diff --git a/externals/grill/dynext/readme.txt b/externals/grill/dynext/readme.txt
index c4173fed..c501b5da 100755
--- a/externals/grill/dynext/readme.txt
+++ b/externals/grill/dynext/readme.txt
@@ -7,6 +7,11 @@ WARRANTIES, see the file, "license.txt," in this distribution.
----------------------------------------------------------------------------
+Attention: dyn~ is bound to the PD version it is compiled for.
+This means that you cannot use a version compiled for PD 0.38 with PD 0.39.
+
+----------------------------------------------------------------------------
+
You will need the flext C++ layer for PD and Max/MSP externals to compile this.
see http://grrrr.org/ext
@@ -17,7 +22,7 @@ Please see build.txt in the flext package on how to compile dyn~.
BUGS:
-----
-- deletion of subcanvases and objects therein is crashy
+- deletion of subcanvases and objects therein may be crashy
CHANGES:
@@ -60,5 +65,4 @@ CHANGES:
TODO:
--------
-- Hash table for object tags
- add mute attribute
diff --git a/externals/grill/dynext/src/main.cpp b/externals/grill/dynext/src/main.cpp
index f81532e5..faf3f137 100644
--- a/externals/grill/dynext/src/main.cpp
+++ b/externals/grill/dynext/src/main.cpp
@@ -19,7 +19,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#error You need at least flext version 0.5.0
#endif
-#define DYN_VERSION "0.1.1pre"
+#define DYN_VERSION "0.1.1"
#if FLEXT_SYS != FLEXT_SYS_PD
@@ -212,7 +212,6 @@ private:
FLEXT_CALLBACK_V(m_disconnect)
FLEXT_CALLBACK_V(m_send)
FLEXT_CALLVAR_B(mg_vis,ms_vis)
-// FLEXT_CALLBACK(m_refresh)
FLEXT_ATTRVAR_B(stripext)
FLEXT_ATTRVAR_B(symreuse)
@@ -829,13 +828,9 @@ void dyn::m_send(int argc,const t_atom *argv)
post("%s - send: object \"%s\" not found",thisName(),GetString(argv[0]));
else if(!canvasmsg && o->AsGlist())
post("%s - send: object \"%s\" is an abstraction, please create proxy",thisName(),GetString(argv[0]));
- else if(IsSymbol(argv[1])) {
- const t_symbol *s = GetSymbol(argv[1]);
- if(s == sym_list)
- pd_forwardmess((t_pd *)o->object,argc-2,(t_atom *)argv+2);
- else
- pd_typedmess((t_pd *)o->object,(t_symbol *)s,argc-2,(t_atom *)argv+2);
- }
+ else if(IsSymbol(argv[1]))
+ // has a tag symbol
+ pd_typedmess((t_pd *)o->object,(t_symbol *)GetSymbol(argv[1]),argc-2,(t_atom *)argv+2);
else
// assume it's a list
pd_forwardmess((t_pd *)o->object,argc-1,(t_atom *)argv+1);