From 19dbe70f46da8bd9831da4de429b6768ac0fb92a Mon Sep 17 00:00:00 2001 From: L-Kaz Date: Wed, 30 Dec 2020 00:20:38 +0900 Subject: [PATCH] Fix objectPath formatting Fixed objectPath formatting to support Windows PC file paths separated by "\". --- utils/packLDrawModel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/packLDrawModel.js b/utils/packLDrawModel.js index 42d7b2642f7c5f..2044895db6e339 100644 --- a/utils/packLDrawModel.js +++ b/utils/packLDrawModel.js @@ -172,7 +172,7 @@ function parseObject( fileName, isRoot ) { } - var objectPath = path.join( prefix, fileName ); + var objectPath = path.join( prefix, fileName ).trim().replace( /\\/g, '/' ); if ( ! objectContent ) {