Liu Song’s Projects


~/Projects/Device-Art-Generator

git clone https://code.lsong.org/Device-Art-Generator

Commit

Commit
42b5c4b91d40135bbfc2d2bae58ddecf8a5b6073
Author
ashung <[email protected]>
Date
2013-01-30 21:45:54 +0800 +0800
Diffstat
 Scripts/deviceArtGenerator.jsx | 6 +++---

Warnning texts when generate 3D view, dimension of design file not match screen size.


diff --git a/Scripts/deviceArtGenerator.jsx b/Scripts/deviceArtGenerator.jsx
index a57fe8d87eaace93bf9fdc10cda9f833f11cc38a..7447a8dd3c614e75bb2022a67a1d9ebb942c25bd 100644
--- a/Scripts/deviceArtGenerator.jsx
+++ b/Scripts/deviceArtGenerator.jsx
@@ -240,12 +240,12 @@         var designImageHeight = activeDocument.activeLayer.bounds[3].as('px') - activeDocument.activeLayer.bounds[1].as('px');
         if(currentDevice.view == '3d') {

             if(designImageWidth != design3DViewWidth || designImageHeight != design3DVieweight) {

                 var msg = {

-like: 

+cTID = function(s) { return app.charIDToTypeID(s); };

 Mail: [email protected]

-like: 

+cTID = function(s) { return app.charIDToTypeID(s); };

 Dribbble: dribbble.com/ashung

                 }

-like: 

+cTID = function(s) { return app.charIDToTypeID(s); };

      

                 activeDocument.close(SaveOptions.DONOTSAVECHANGES);

             } else {