• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 31 32 33 34 35
Volume & Area Tool [SOLVED]

 
  • 0 Vote(s) - 0 Average
Volume & Area Tool [SOLVED]

ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#3
11-25-2012, 08:33 PM (This post was last modified: 11-25-2012, 08:50 PM by ggaliens.)
Optigon ... I have patched this up locally. Can't recall if I did a GITHUB push or not.

As I recall ... the problem was not with the calculations so much as the io tools used to do the reporting.

This is from my wings.erl file in function get_object_info.


Code:
ToString = fun(Item) ->
    case Item of
        Item when is_float(Item) ->
        lists:flatten(hd(io_lib:format("~.4f", [Item])));
        Item when is_integer(Item) ->
        integer_to_list(Item);
        Item when is_list(Item) ->
        Item
    end
    end,
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Volume & Area Tool [SOLVED] - by optigon - 11-25-2012, 02:38 AM
RE: Volume & Area Tool - by optigon - 11-25-2012, 03:22 PM
RE: Volume & Area Tool - by ggaliens - 11-25-2012, 08:33 PM
RE: Volume & Area Tool - by micheus - 11-27-2012, 04:41 PM
RE: Volume & Area Tool - by optigon - 11-27-2012, 04:46 PM
RE: Volume & Area Tool - by Fonte Boa - 11-25-2012, 09:16 PM
RE: Volume & Area Tool - by micheus - 11-27-2012, 04:58 PM
RE: Volume & Area Tool - by optigon - 11-27-2012, 05:34 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode