Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fc-pregmod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
macaronideath
fc-pregmod
Commits
1579eabc
Commit
1579eabc
authored
5 years ago
by
ezsh
Browse files
Options
Downloads
Patches
Plain Diff
Fix balls vector art scaling
Closes
#889
.
parent
cddd4878
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
artTools/vector_layer_split.py
+2
-1
2 additions, 1 deletion
artTools/vector_layer_split.py
src/art/vector/layers/Art_Vector_Balls.svg
+1
-1
1 addition, 1 deletion
src/art/vector/layers/Art_Vector_Balls.svg
with
3 additions
and
2 deletions
artTools/vector_layer_split.py
+
2
−
1
View file @
1579eabc
...
@@ -115,6 +115,8 @@ def splitFile(inputFile):
...
@@ -115,6 +115,8 @@ def splitFile(inputFile):
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
boob
"
'
)
# boob art uses the boob scaling
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
boob
"
'
)
# boob art uses the boob scaling
elif
(
"
Belly
"
in
i
):
elif
(
"
Belly
"
in
i
):
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
belly
"
'
)
# belly art uses the belly scaling
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
belly
"
'
)
# belly art uses the belly scaling
elif
(
"
Balls
"
in
i
):
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
balls
"
'
)
# balls art uses the balls scaling
else
:
else
:
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
art
"
'
)
# otherwise use default scaling
svg
=
svg
.
replace
(
'
<g
'
,
'
<g data-transform=
"
art
"
'
)
# otherwise use default scaling
if
(
not
svg
.
endswith
(
'
\n
'
)):
if
(
not
svg
.
endswith
(
'
\n
'
)):
...
@@ -138,4 +140,3 @@ if not os.path.exists(output_directory):
...
@@ -138,4 +140,3 @@ if not os.path.exists(output_directory):
for
f
in
args
.
input_file
:
for
f
in
args
.
input_file
:
splitFile
(
f
)
splitFile
(
f
)
This diff is collapsed.
Click to expand it.
src/art/vector/layers/Art_Vector_Balls.svg
+
1
−
1
View file @
1579eabc
<svg
viewBox=
"0 0 560 1000"
><g
data-transform=
"
art
"
id=
"g5023"
><path
style=
"fill:#000000"
sodipodi:nodetypes=
"ccccccc"
d=
"m 257.66607,496.61899 c 4.14944,1.13097 8.46586,0.43899 9.39342,0.34412 7.94674,3.97257 15.70719,1.85262 19.64687,-6.1883 2.20344,-4.85122 -0.36417,-11.7545 -3.29443,-19.13452 -2.1949,-5.45385 -5.06156,-11.54066 -6.62573,-13.27699 -9.84786,-9.91781 -13.13813,-2.67766 -21.91172,15.67268 -4.86509,8.27714 -8.95386,19.27496 2.79159,22.58301 z"
id=
"path1992-1"
/><path
sodipodi:nodetypes=
"ccccccc"
d=
"m 258.20272,495.47299 c 3.92914,1.10083 8.0164,0.42729 8.89473,0.33495 7.52486,3.86671 14.8733,1.80325 18.60382,-6.0234 2.08647,-4.72194 -0.0776,-11.80627 -2.85234,-18.98964 -2.07837,-5.30852 -4.29067,-11.23314 -5.77179,-12.9232 -9.32505,-9.65353 -13.21001,-2.2413 -21.51782,15.62006 -4.60678,8.05657 -8.4785,18.76133 2.6434,21.98123 z"
class=
"skin scrotum"
id=
"path1992"
/></g></svg>
<svg
viewBox=
"0 0 560 1000"
><g
data-transform=
"
balls
"
id=
"g5023"
><path
style=
"fill:#000000"
sodipodi:nodetypes=
"ccccccc"
d=
"m 257.66607,496.61899 c 4.14944,1.13097 8.46586,0.43899 9.39342,0.34412 7.94674,3.97257 15.70719,1.85262 19.64687,-6.1883 2.20344,-4.85122 -0.36417,-11.7545 -3.29443,-19.13452 -2.1949,-5.45385 -5.06156,-11.54066 -6.62573,-13.27699 -9.84786,-9.91781 -13.13813,-2.67766 -21.91172,15.67268 -4.86509,8.27714 -8.95386,19.27496 2.79159,22.58301 z"
id=
"path1992-1"
/><path
sodipodi:nodetypes=
"ccccccc"
d=
"m 258.20272,495.47299 c 3.92914,1.10083 8.0164,0.42729 8.89473,0.33495 7.52486,3.86671 14.8733,1.80325 18.60382,-6.0234 2.08647,-4.72194 -0.0776,-11.80627 -2.85234,-18.98964 -2.07837,-5.30852 -4.29067,-11.23314 -5.77179,-12.9232 -9.32505,-9.65353 -13.21001,-2.2413 -21.51782,15.62006 -4.60678,8.05657 -8.4785,18.76133 2.6434,21.98123 z"
class=
"skin scrotum"
id=
"path1992"
/></g></svg>
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