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
Model registry
Operate
Environments
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
Jonathan Wilkes
purr-data
Commits
f1f16150
Commit
f1f16150
authored
4 years ago
by
Jonathan Wilkes
Browse files
Options
Downloads
Plain Diff
Merge branch '20200831-rtext'
parents
870b0c8f
751ef6d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!509
*reenabled checking for duplicate rtext activation which may be responsible...
Pipeline
#2692
failed
4 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pd/src/g_rtext.c
+5
-2
5 additions, 2 deletions
pd/src/g_rtext.c
with
5 additions
and
2 deletions
pd/src/g_rtext.c
+
5
−
2
View file @
f1f16150
...
...
@@ -527,7 +527,7 @@ void rtext_erase(t_rtext *x)
// sys_vgui(".x%lx.c delete %s\n", glist_getcanvas(x->x_glist), x->x_tag);
}
/* Not needed since the rtext gets
eras
ed along with the parent gobj group */
/* Not needed since the rtext gets
displac
ed along with the parent gobj group */
void
rtext_displace
(
t_rtext
*
x
,
int
dx
,
int
dy
)
{
//sys_vgui(".x%lx.c move %s %d %d\n", glist_getcanvas(x->x_glist),
...
...
@@ -565,7 +565,10 @@ void rtext_activate(t_rtext *x, int state)
char
*
tmpbuf
;
t_glist
*
glist
=
x
->
x_glist
;
t_canvas
*
canvas
=
glist_getcanvas
(
glist
);
//if (state && x->x_active) printf("duplicate rtext_activate\n");
if
(
state
&&
x
->
x_active
)
{
//fprintf(stderr, "duplicate rtext_activate\n");
return
;
}
// the following prevents from selecting all when inside an
// object that is already being texted for... please *test*
// "fixes" before committing them
...
...
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