Changeset 907 for library/bdm/design

Show
Ignore:
Timestamp:
04/19/10 12:44:57 (14 years ago)
Author:
mido
Message:

LOG LEVEL improved and hopefully finished

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/design/ctrlbase.h

    r738 r907  
    3636 
    3737        void from_setting ( const Setting &set ) { 
    38                 UI::get ( rv, set, "rv", UI::optional ); 
    39                 UI::get ( rvc, set, "rvc", UI::optional ); 
     38                shared_ptr<RV> rv_ptr = UI::build<RV>( set, "rv", UI::optional ); 
     39                if( rv_ptr ) rv = *rv_ptr; 
     40                shared_ptr<RV> rvc_ptr = UI::build<RV>( set, "rvc", UI::optional ); 
     41                if( rvc_ptr ) rvc = *rvc_ptr; 
    4042        } 
    4143        //! access function