Source

psd-tools / src / psd_tools / user_api / psd_image.py

Diff from to

File src/psd_tools/user_api/psd_image.py

 
     @property
     def visible(self):
+        """ Layer visibility. Doesn't take group visibility in account. """
+        return self._info.flags.visible
+
+    @property
+    def visible_global(self):
         """ Layer visibility. Takes group visibility in account. """
-        return self._info.flags.visible and self.parent.visible
+        return self.visible and self.parent.visible
 
     @property
     def layer_id(self):
     @property
     def visible(self):
         return True
+
+    @property
+    def visible_global(self):
+        return True