Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ishan Kumar Kaler
purr-data
Commits
db34c008
Commit
db34c008
authored
Sep 09, 2020
by
Jonathan Wilkes
Browse files
Merge branch 'guillembartrina/purr-data-feature-dirtyvisualmarkings'
parents
0d4f1d98
60e47d15
Changes
3
Hide whitespace changes
Inline
Side-by-side
pd/src/g_editor.c
View file @
db34c008
...
...
@@ -1288,7 +1288,6 @@ void canvas_undo_paste(t_canvas *x, void *z, int action)
}
}
void
canvas_dirtyclimb
(
t_canvas
*
x
,
int
n
);
int
clone_match
(
t_pd
*
z
,
t_symbol
*
name
,
t_symbol
*
dir
);
/* recursively check for abstractions to reload as result of a save.
...
...
@@ -1315,10 +1314,6 @@ static void glist_doreload(t_glist *gl, t_symbol *name, t_symbol *dir,
((
t_canvas
*
)
g
)
->
gl_name
==
name
&&
canvas_getdir
((
t_canvas
*
)
g
)
==
dir
);
/* remove dirtiness visual markings */
if
(
remakeit
&&
((
t_canvas
*
)
g
)
->
gl_dirty
)
canvas_dirtyclimb
((
t_canvas
*
)
g
,
0
);
/* also remake it if it's a "clone" with that name */
if
(
pd_class
(
&
g
->
g_pd
)
==
clone_class
&&
clone_match
(
&
g
->
g_pd
,
name
,
dir
))
...
...
pd/src/g_graph.c
View file @
db34c008
...
...
@@ -230,6 +230,9 @@ void glist_delete(t_glist *x, t_gobj *y)
/* if we are a group, let's call ourselves a drawcommand */
if
(((
t_canvas
*
)
y
)
->
gl_svg
)
drawcommand
=
1
;
if
(((
t_canvas
*
)
y
)
->
gl_dirty
)
canvas_dirtyclimb
((
t_canvas
*
)
y
,
0
);
}
wasdeleting
=
canvas_setdeleting
(
canvas
,
1
);
...
...
pd/src/g_text.c
View file @
db34c008
...
...
@@ -2248,9 +2248,9 @@ static void text_vis(t_gobj *z, t_glist *glist, int vis)
if
(
pd_class
(
&
x
->
te_pd
)
==
canvas_class
)
{
if
(((
t_canvas
*
)
x
)
->
gl_dirty
)
gobj_dirty
(
x
,
glist
,
1
);
gobj_dirty
(
&
x
->
te_g
,
glist
,
1
);
else
if
(((
t_canvas
*
)
x
)
->
gl_subdirties
)
gobj_dirty
(
x
,
glist
,
2
);
gobj_dirty
(
&
x
->
te_g
,
glist
,
2
);
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment