lib/mittsu/materials/mesh_basic_material.rb in mittsu-0.1.1 vs lib/mittsu/materials/mesh_basic_material.rb in mittsu-0.1.2

- old
+ new

@@ -107,16 +107,7 @@ material.skinning = @skinning material.morphTargets = @morphTargets material end - - def to_json - output = super - output[:color] = @color.hex - output[:vertex_colors] = @vertex_colors unless @vertex_colors == NoColors - output[:blending] = @blending unless @blending == NormalBlending - output[:side] = @side unless @side == FrontSide - output - end end end