lib/floorplanner/wall_builder.rb in floorplanner-fml-0.2 vs lib/floorplanner/wall_builder.rb in floorplanner-fml-0.2.1
- old
+ new
@@ -116,10 +116,10 @@
@vertices.uniq!
# remove same vertices
old = @vertices.dup
@vertices = Array.new
old.each do |v|
- @vertices.push(v) unless @vertices.include?(v) # find_vertex(@vertices,v) #
+ @vertices.push(v) unless @vertices.include?(v) # find_vertex(@vertices,v) #
end
$stderr.puts "Walls Vertices: #{@vertices.length.to_s}"
$stderr.puts "Walls Faces : #{@faces.length.to_s}"
end