aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flattr.cpp
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-05-24 12:20:57 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-05-24 12:20:57 +0000
commit576b21b58cced4bb319131114fca3590d58a3f6b (patch)
treede69230eaff3a87a0674131fd4696ec1508da2c7 /externals/grill/flext/source/flattr.cpp
parent3ae6505abbd8887a65935f53591e7b0be89791c4 (diff)
enabled FLEXT_(C)ADDMETHOD as an alias of FLEXT_(C)ADDBANG
bugfixes and optimizations, especially for DSP under Max/MSP added thisParent type attribute generation is now determined exclusively by the object class setup (not library as before). avoid trying to send empty message bundles - preprocessor symbol FLEXT_COMPATIBLE - if defined don't implement specialities of either PD or Max/MSP small changes for attribute functions - Max: fixed reported bug (#67), where list elements are distributed over inlets svn path=/trunk/; revision=5113
Diffstat (limited to 'externals/grill/flext/source/flattr.cpp')
-rw-r--r--externals/grill/flext/source/flattr.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/externals/grill/flext/source/flattr.cpp b/externals/grill/flext/source/flattr.cpp
index 68791894..2054f7d4 100644
--- a/externals/grill/flext/source/flattr.cpp
+++ b/externals/grill/flext/source/flattr.cpp
@@ -235,10 +235,7 @@ bool flext_base::SetAttrib(const t_symbol *tag,int argc,const t_atom *argv)
{
// search for matching attribute
AttrItem *a = FindAttrib(tag,false,true);
- if(a)
- return SetAttrib(tag,a,argc,argv);
- else
- return true;
+ return a && SetAttrib(tag,a,argc,argv);
}
bool flext_base::SetAttrib(const t_symbol *tag,AttrItem *a,int argc,const t_atom *argv)