Commit f2ee701a authored by Ivica Bukvic's avatar Ivica Bukvic Committed by Hans-Christoph Steiner
Browse files

Pd-0.42.5-extended-l2ork-dev-20101230.tar.bz2

parent bf1a3ca4
......@@ -1055,8 +1055,8 @@ static void canvas_rightclick(t_canvas *x, int xpos, int ypos, t_gobj *y)
/* abstractions should only allow for properties inside them
otherwise they end-up being dirty without visible notification
besides, why would one mess with their properties without
seeing what is inside them? */
canprop = (!y || (y && class_getpropertiesfn(pd_class(&y->g_pd))) && !canvas_isabstraction( ((t_glist*)y) ) );
seeing what is inside them? CURRENTLY DISABLED */
canprop = (!y || (y && class_getpropertiesfn(pd_class(&y->g_pd))) /*&& !canvas_isabstraction( ((t_glist*)y) )*/ );
canopen = (y && zgetfn(&y->g_pd, gensym("menu-open")));
if (y) {
isobject = 1;
......
......@@ -1054,22 +1054,23 @@ static void text_getrect(t_gobj *z, t_glist *glist,
/* now find if we have more inlets or outlets than
what can comfortably fit and adjust accordingly
but only do so if this is not gop object
NB: textless GOPs are unaffected and are treated
as GUI objects
*/
//fprintf(stderr,"isgraph %d\n", ((t_glist *)z)->gl_isgraph);
if (!((t_glist *)z)->gl_isgraph) {
//if (!((t_glist *)z)->gl_isgraph) {
t_object *ob = pd_checkobject(&x->te_pd);
int no = obj_noutlets(ob);
int ni = obj_ninlets(ob);
t_object *ob = pd_checkobject(&x->te_pd);
int no = obj_noutlets(ob);
int ni = obj_ninlets(ob);
int m = ( ni > no ? ni : no);
if ( width < IOWIDTH * 2 * m ) {
/* we have to resize the object */
width = IOWIDTH * 2 * m;
}
int m = ( ni > no ? ni : no);
if ( width < (IOWIDTH * m) * 2 - IOWIDTH) {
/* we have to resize the object */
width = (IOWIDTH * m) * 2 - IOWIDTH;
}
//}
height = rtext_height(y) - (iscomment << 1);
}
else width = height = 10;
......
......@@ -11,7 +11,7 @@ extern "C" {
#define PD_MAJOR_VERSION 0
#define PD_MINOR_VERSION 42
#define PD_BUGFIX_VERSION 5
#define PD_TEST_VERSION "extended-l2ork-20101229"
#define PD_TEST_VERSION "extended-l2ork-20101230"
/* old name for "MSW" flag -- we have to take it for the sake of many old
"nmakefiles" for externs, which will define NT and not MSW */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment