Changeset 20194

Show
Ignore:
Timestamp:
05/09/07 18:46:00 (2 years ago)
Author:
patrick
Message:

Updated for API changes in VR Juggler made around version 2.1.25.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • PyJuggler/branches/1.2/configure.ac

    r19942 r20194  
    416416GADGETEER_PATH([1.1.24], , 
    417417               [AC_MSG_ERROR([*** Gadgeteer is required for PyJuggler ***])]) 
    418 VRJUGGLER_PATH([2.1.21], , 
     418VRJUGGLER_PATH([2.1.25], , 
    419419               [AC_MSG_ERROR([*** VR Juggler is required for PyJuggler ***])]) 
    420420 
  • PyJuggler/branches/1.2/src/vrj/_Display.cpp

    r19942 r20194  
    5656      ) 
    5757      .def("getName", &vrj::Display::getName, 
     58           return_value_policy<copy_const_reference>(), 
    5859           "getName() -> string object\n" 
    5960           "Gets the name of this display window." 
  • PyJuggler/branches/1.2/src/vrj/_Frustum.cpp

    r19730 r20194  
    3232      .def("set", &vrj::Frustum::set) 
    3333      .def("__getitem__", 
    34            (float& (vrj::Frustum::*)(int)) &vrj::Frustum::operator[], 
    35            return_value_policy<copy_non_const_reference>()) 
     34           (const float& (vrj::Frustum::*)(const unsigned int) const) &vrj::Frustum::operator[], 
     35           return_value_policy<copy_const_reference>()) 
    3636//      .def(self_ns::str(self)) 
    3737   ); 
  • PyJuggler/branches/1.2/src/vrj/_User.cpp

    r19730 r20194  
    5656      ) 
    5757      .def("getName", &vrj::User::getName, 
     58           return_value_policy<copy_const_reference>(), 
    5859           "getName() -> string object\n" 
    5960           "Returns the name of thss user object."