Fixed #2299 add Armature compress for template