Permalink
Browse files

Fixed flatten bug.

  • Loading branch information...
1 parent 662b1bd commit 9f3aaa85b4684e9daa0342994b694f306ff0e64e @reimund committed Oct 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/Tych Panel/Tych Panel Only/helpers.jsx
@@ -632,7 +632,7 @@ function tp_safe_open(file)
*/
function tp_flatten(doc)
{
- if (1 > doc.layers.length)
+ if (1 < doc.layers.length)
doc.mergeVisibleLayers();
}

0 comments on commit 9f3aaa8

Please sign in to comment.