Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Wynn
purr-data
Commits
0b84dfc0
Commit
0b84dfc0
authored
Aug 04, 2013
by
Ivica Bukvic
Browse files
added rechecking of node-hub preset connection after recreating objects
parent
d832c879
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_text.c
View file @
0b84dfc0
...
...
@@ -41,6 +41,7 @@ extern void canvas_setundo(t_canvas *x, t_undofn undofn, void *buf, const char *
extern
void
*
canvas_undo_set_create
(
t_canvas
*
x
);
extern
void
canvas_undo_create
(
t_canvas
*
x
,
void
*
z
,
int
action
);
extern
int
we_are_undoing
;
extern
void
glob_preset_node_list_seek_hub
(
void
);
/* ----------------- the "text" object. ------------------ */
...
...
@@ -2044,6 +2045,7 @@ void text_setto(t_text *x, t_glist *glist, char *buf, int bufsize, int pos)
if
(
newest
&&
pd_class
(
newest
)
==
canvas_class
)
canvas_loadbang
((
t_canvas
*
)
newest
);
canvas_restoreconnections
(
glist_getcanvas
(
glist
));
glob_preset_node_list_seek_hub
();
//canvas_apply_restore_original_position(glist_getcanvas(glist), pos);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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