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
nerrons
purr-data
Commits
1ffdd15e
Commit
1ffdd15e
authored
Aug 30, 2014
by
Ivica Bukvic
Browse files
*fixed regression where array canvas properties did not stick
*fixed proper opening of paths with spaces ia unique check
parent
516b2507
Changes
4
Hide whitespace changes
Inline
Side-by-side
pd/src/g_array.c
View file @
1ffdd15e
...
...
@@ -401,7 +401,7 @@ void garray_fittograph(t_garray *x, int n, int flag)
/* close any dialogs that might have the wrong info now...
TODO: make changes dynamic to avoid this as it causes Apply to
close the properties which is annoying */
gfxstub_deleteforkey
(
gl
);
//
gfxstub_deleteforkey(gl);
}
if
(
flag
>=
0
)
{
...
...
pd/src/g_editor.c
View file @
1ffdd15e
...
...
@@ -2631,6 +2631,7 @@ void canvas_properties(t_glist *x)
static
void
canvas_donecanvasdialog
(
t_glist
*
x
,
t_symbol
*
s
,
int
argc
,
t_atom
*
argv
)
{
//fprintf(stderr,"canvas_donecanvasdialog\n");
t_float
xperpix
,
yperpix
,
x1
,
y1
,
x2
,
y2
,
xpix
,
ypix
,
xmargin
,
ymargin
;
int
rx1
=
0
,
ry1
=
0
,
rx2
=
0
,
ry2
=
0
;
//for getrect
int
graphme
;
...
...
pd/src/pd.tk
View file @
1ffdd15e
...
...
@@ -6372,6 +6372,7 @@ if {[catch {
#
see
comments
above
(
pdtk_gatom_dialog
)
about
variable
name
handling
proc
canvas_apply
{
id
}
{
#
puts
stderr
pdtk_canvas_apply
#
strip
"."
from
the
TK
id
to
make
a
variable
name
suffix
set
vid
[
string
trimleft
$
id
.]
#
for
each
variable
,
make
a
local
variable
to
hold
its
name
...
...
...
@@ -8454,6 +8455,7 @@ proc pdtk_check_unique {unique filenames} {
global
appname
if
{
$
unique
==
0
}
{
foreach
file
$
filenames
{
#
puts
stderr
$
file
cd
[
file
dirname
$
file
]
set
dir
[
pwd
]
set
name
[
file
tail
$
file
]
...
...
pd/src/s_main.c
View file @
1ffdd15e
...
...
@@ -313,13 +313,15 @@ int sys_main(int argc, char **argv)
if
((
filenames
=
malloc
(
length
))
!=
NULL
)
{
filenames
[
0
]
=
'\0'
;
// ensures the memory is an empty string
strcat
(
filenames
,
"
\"
"
);
if
(
sys_openlist
)
{
for
(
nl
=
sys_openlist
;
nl
;
nl
=
nl
->
nl_next
)
{
strcat
(
filenames
,
nl
->
nl_string
);
if
(
nl
->
nl_next
)
strcat
(
filenames
,
" "
);
strcat
(
filenames
,
"
\"
\"
"
);
else
strcat
(
filenames
,
"
\"
"
);
}
}
//fprintf(stderr,"final list: <%s>\n", filenames);
...
...
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