lib/psd/layer/info.rb in psd-3.1.3 vs lib/psd/layer/info.rb in psd-3.1.4
- old
+ new
@@ -21,11 +21,12 @@
locked: Locked,
solid_color: SolidColor,
vector_mask: VectorMask,
vector_origination: VectorOrigination,
vector_stroke: VectorStroke,
- vector_stroke_content: VectorStrokeContent
+ vector_stroke_content: VectorStrokeContent,
+ gradient_fill: GradientFill
}.freeze
attr_reader :adjustments
alias :info :adjustments
@@ -57,11 +58,11 @@
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}"
@@ -71,6 +72,6 @@
@extra_data_end = @file.tell
end
end
end
-end
\ No newline at end of file
+end