aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/dyn
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-04-15 02:41:04 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-04-15 02:41:04 +0000
commite4991ce586558b0ff3a06b7c0c4022d2083c4d01 (patch)
tree96e5d97482a50ae760cd9bdc8ea8401bd1bf6648 /externals/grill/dyn
parentc58149336328a7c05d9c713368d30ea30ec0ac1b (diff)
""
svn path=/trunk/; revision=562
Diffstat (limited to 'externals/grill/dyn')
-rw-r--r--externals/grill/dyn/build-pd-linux.sh2
-rw-r--r--externals/grill/dyn/config-pd-linux.txt3
-rw-r--r--externals/grill/dyn/pd/dyn~.pd4
-rw-r--r--externals/grill/dyn/src/main.cpp8
4 files changed, 9 insertions, 8 deletions
diff --git a/externals/grill/dyn/build-pd-linux.sh b/externals/grill/dyn/build-pd-linux.sh
index 413650f7..421cb6e1 100644
--- a/externals/grill/dyn/build-pd-linux.sh
+++ b/externals/grill/dyn/build-pd-linux.sh
@@ -4,7 +4,7 @@
make -f makefile.pd-linux &&
{
- if [ $INSTPATH != "" ]; then
+ if [ ${INSTPATH} != "" ]; then
echo Now install as root
su -c "make -f makefile.pd-linux install"
fi
diff --git a/externals/grill/dyn/config-pd-linux.txt b/externals/grill/dyn/config-pd-linux.txt
index ded839c1..9afaa255 100644
--- a/externals/grill/dyn/config-pd-linux.txt
+++ b/externals/grill/dyn/config-pd-linux.txt
@@ -10,8 +10,9 @@
# where are the PD source files?
# (the normal header file doesn't work as g_canvas.h is not there)
+# please note that currently the development branch (e.g devel_0_36) is needed
#
-PDPATH=/usr/src/pd-0.36-0/src
+PDPATH=/home/thomas/prog/pd-devel/src
# where do the flext libraries reside?
FLEXTPATH=/usr/local/lib/pd/flext
diff --git a/externals/grill/dyn/pd/dyn~.pd b/externals/grill/dyn/pd/dyn~.pd
index c13f5296..f65c7052 100644
--- a/externals/grill/dyn/pd/dyn~.pd
+++ b/externals/grill/dyn/pd/dyn~.pd
@@ -1,4 +1,4 @@
-#N canvas 195 68 749 575 12;
+#N canvas 195 68 751 577 12;
#N canvas 218 20 570 669 examples 0;
#X floatatom 153 276 5 0 0 0 - - -;
#X floatatom 110 353 5 0 0 0 - - -;
@@ -66,7 +66,7 @@ conn 1 a 1 \, conn a 0 b 0 \, conn 2 b 1 \, conn b 0 0;
#X obj 54 468 dyn~ 0 1 0 2;
#X text 156 467 dyn sig/msg inlets sig/msg outlets;
#X msg 165 421 vis \$1;
-#X obj 129 421 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+#X obj 129 421 tgl 20 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X text 222 417 make patch visible/invisible;
#X msg 129 323 dis x 2 y 3;
diff --git a/externals/grill/dyn/src/main.cpp b/externals/grill/dyn/src/main.cpp
index cdf37504..f60e9587 100644
--- a/externals/grill/dyn/src/main.cpp
+++ b/externals/grill/dyn/src/main.cpp
@@ -17,7 +17,7 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#error You need at least flext version 0.4.2
#endif
-#define DYN_VERSION "0.0.3"
+#define DYN_VERSION "0.0.4"
#if FLEXT_SYS != FLEXT_SYS_PD
@@ -456,11 +456,11 @@ t_gobj *dyn::New(const t_symbol *kind,int _argc_,const t_atom *_argv_,bool add)
// send loadbang (if it is an abstraction)
if(pd_class(&newest->g_pd) == canvas_class) {
- // loadbang the abstraction
- pd_vmess((t_pd *)newest,gensym("loadbang"),"");
-
// hide the sub-canvas
pd_vmess((t_pd *)newest,gensym("vis"),"i",0);
+
+ // loadbang the abstraction
+ pd_vmess((t_pd *)newest,gensym("loadbang"),"");
}
// restart dsp - that's necessary because ToCanvas is called manually