dont autoremove animated_gif and animated_png tags on update #2500

This commit is contained in:
r888888888
2017-04-04 12:44:30 -07:00
parent a5e55eda3d
commit 3190ecb601

View File

@@ -636,7 +636,7 @@ class Post < ActiveRecord::Base
def add_automatic_tags(tags)
return tags if !Danbooru.config.enable_dimension_autotagging
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize animated_gif animated_png flash webm mp4)
tags -= %w(incredibly_absurdres absurdres highres lowres huge_filesize flash webm mp4)
if has_dimensions?
if image_width >= 10_000 || image_height >= 10_000