lib/psd/layer/info.rb in psd-1.4.5 vs lib/psd/layer/info.rb in psd-1.5.0

- old
+ new

@@ -15,10 +15,11 @@ nested_section_divider: NestedLayerDivider, reference_point: ReferencePoint, layer_id: LayerID, fill_opacity: FillOpacity, placed_layer: PlacedLayer, + locked: Locked, vector_mask: VectorMask, vector_mask_2: VectorMask2, vector_stroke: VectorStroke, vector_stroke_content: VectorStrokeContent } @@ -50,9 +51,10 @@ PSD.logger.debug "Layer Info: key = #{key}, start = #{pos}, length = #{length}" i = info.new(self, length) @adjustments[name] = LazyExecute.new(i, @file).now(:skip).later(:parse) + key_parseable = true and break end unless key_parseable PSD.logger.debug "Skipping unknown layer info block: key = #{key}, length = #{length}" \ No newline at end of file