Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
purr-data
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
brittney allen
purr-data
Commits
a9638e54
Commit
a9638e54
authored
11 years ago
by
Ivica Bukvic
Browse files
Options
Downloads
Patches
Plain Diff
fixed infinite recursion in the scalar-help.pd
parent
7f0df3bd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/src/g_scalar.c
+3
-5
3 additions, 5 deletions
pd/src/g_scalar.c
with
3 additions
and
5 deletions
pd/src/g_scalar.c
+
3
−
5
View file @
a9638e54
...
...
@@ -248,7 +248,7 @@ static void scalar_getrect(t_gobj *z, t_glist *owner,
void
scalar_drawselectrect
(
t_scalar
*
x
,
t_glist
*
glist
,
int
state
)
{
fprintf
(
stderr
,
"scalar_drawselecterect%d
\n
"
,
state
);
//
fprintf(stderr,"scalar_drawselecterect%d\n", state);
if
(
state
)
{
int
x1
,
y1
,
x2
,
y2
;
...
...
@@ -294,7 +294,7 @@ void scalar_drawselectrect(t_scalar *x, t_glist *glist, int state)
*/
void
scalar_select
(
t_gobj
*
z
,
t_glist
*
owner
,
int
state
)
{
fprintf
(
stderr
,
"scalar_select %d
\n
"
,
state
);
//
fprintf(stderr,"scalar_select %d\n", state);
t_scalar
*
x
=
(
t_scalar
*
)
z
;
t_template
*
tmpl
;
t_symbol
*
templatesym
=
x
->
sc_template
;
...
...
@@ -306,13 +306,11 @@ void scalar_select(t_gobj *z, t_glist *owner, int state)
SETPOINTER
(
&
at
,
&
gp
);
if
(
tmpl
=
template_findbyname
(
templatesym
))
{
fprintf
(
stderr
,
"blah
\n
"
);
template_notify
(
tmpl
,
(
state
?
gensym
(
"select"
)
:
gensym
(
"deselect"
)),
1
,
&
at
);
//templatecanvas = template_findcanvas(tmpl);
}
gpointer_unset
(
&
gp
);
fprintf
(
stderr
,
"continue
\n
"
);
if
(
state
)
{
x
->
sc_selected
=
owner
;
...
...
@@ -622,7 +620,7 @@ static void scalar_vis(t_gobj *z, t_glist *owner, int vis)
sys_unqueuegui
(
x
);
if
(
glist_isselected
(
owner
,
&
x
->
sc_gobj
))
{
scalar_select
(
z
,
owner
,
1
);
//
scalar_select(z, owner, 1);
scalar_drawselectrect
(
x
,
owner
,
0
);
scalar_drawselectrect
(
x
,
owner
,
1
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment