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
818d512d
Commit
818d512d
authored
Dec 03, 2016
by
Albert Gräf
Browse files
Fix up scalar bbox calculation of array plots, fixes #162.
parent
6650e37a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/src/g_array.c
View file @
818d512d
...
...
@@ -870,11 +870,11 @@ void array_getcoordinate(t_glist *glist,
// so that the smallest hitbox is always at least 8x8
// check with all_about_arrays.pd inside custom scalars
// in an array
if
(
*
xp1
==
*
xp2
)
if
(
glist_topixels
&&
*
xp1
==
*
xp2
)
{
*
xp1
=
*
xp1
-
4
;
*
xp2
=
*
xp2
+
4
;
wpix
=
8
;
if
(
wpix
<
8
)
wpix
=
8
;
}
*
wp
=
wpix
;
}
...
...
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