Changeset 6956


Ignore:
Timestamp:
Nov 18, 2009, 3:39:28 PM (15 years ago)
Author:
Christoph Mayer
Message:

-small visualization enhancements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sample/pingpong/PingPong.cpp

    r6954 r6956  
    5858                        string ip = config.read<string>("ariba.visual3d.ip");
    5959                        unsigned int port = config.read<unsigned int>("ariba.visual3d.port");
    60                         unsigned int color = config.read<unsigned int>("ariba.visual3d.color");
     60                        unsigned int color = config.exists("ariba.visual3d.color") ?
     61                                        config.read<unsigned int>("ariba.visual3d.color") : 0;
    6162                        ariba::utility::DddVis::instance().configure(ip, port, color);
    6263                }
Note: See TracChangeset for help on using the changeset viewer.