Skip to content
Why GitHub?
Features
→
Code review
Project management
Integrations
Actions
Package registry
Security
Team management
Social coding
Documentation
Code hosting
Customer stories
→
Security
→
Enterprise
Explore
Explore GitHub
→
Learn & contribute
Topics
Collections
Trending
Learning Lab
Open source guides
Connect with others
Events
Community forum
GitHub Education
Marketplace
Pricing
Plans
→
Compare plans
Contact Sales
Nonprofit
→
Education
→
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
Watch
27
Star
86
Fork
59
lautr3k
/
SLAcer.js
Code
Issues
8
Pull requests
1
Projects
0
Security
Insights
Permalink
Browse files
- mirror bug mesh
Loading branch information
...
Fabian
committed
Mar 4, 2018
1 parent
0e46fd0
commit
d0967b99ed6a01c89503393da17345c3a5908644
Unified
Split
Showing
1 changed file
with
5 additions
and
3 deletions
.
+5
−3
js/main.js
8
js/main.js
Show comments
View file
Edit file
Delete file
@@ -608,9 +608,11 @@ function updateMeshInfoUI() {
var
cost
=
volume
*
settings
.
get
(
'
resin.price
'
)
/
1000
;
$meshFaces
.
html
(
mesh
.
geometry
.
faces
.
length
);
$meshVolume
.
html
(volume);
$meshWeight
.
html
(weight);
$meshCost
.
html
(cost);
//
mirror bugfix
$meshVolume
.
html
(
Math
.
abs
(volume));
$meshWeight
.
html
(
Math
.
abs
(weight));
$meshCost
.
html
(
Math
.
abs
(weight));
}
//
Slicer panel
Toggle all file notes
1 comment on commit
d0967b9
This comment has been minimized.
Sign in to view
Copy link
Quote reply
n0sr3v
commented on
d0967b9
Mar 4, 2018
Fixing negative values when mirroring.
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
This comment has been minimized.
n0sr3v commented onMar 4, 2018
d0967b9
Fixing negative values when mirroring.