From: Braden M. <br...@us...> - 2005-11-28 04:04:00
|
Update of /cvsroot/openvrml/openvrml In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10460 Modified Files: ChangeLog Log Message: Load EXTERNPROTO implementations (asynchronously). Index: ChangeLog =================================================================== RCS file: /cvsroot/openvrml/openvrml/ChangeLog,v retrieving revision 1.1054 retrieving revision 1.1055 diff -C2 -d -r1.1054 -r1.1055 *** ChangeLog 28 Nov 2005 02:56:11 -0000 1.1054 --- ChangeLog 28 Nov 2005 04:03:47 -0000 1.1055 *************** *** 1,4 **** --- 1,28 ---- 2005-11-27 Braden McDaniel <br...@en...> + Load EXTERNPROTO implementations (asynchronously). + + * src/libopenvrml/openvrml/browser.cpp: Modified + externproto_node::externproto_exposedfield to inherit + abstract_proto_node::proto_eventout rather than + openvrml::field_value_emitter. Implemented do_clone for + externproto_node::externproto_exposedfield. For externproto_node, + implemented do_shutdown as well as all the virtual cast functions. + Constructing an externproto_node_class now initiates a new thread + using the function object externproto_node_class::load_proto. + This parses the VRML world at the given URI which incidentally + puts any PROTOs in that world into the browser's node_class map. + At that point externproto_node_class::set_proto_node_class is + called, which sets the proto_node_class to which the + externproto_node_class will delegate. + externproto_node_class::set_proto_node_class in turn calls + externproto_node_type::set_proto_node_type which provides the + externproto_node_type with the proto_node_type to which it + delegates. And finally externproto_node_type::set_proto_node_type + calls externproto_node::set_proto_node which provides the + externproto_node with the proto_node to which it delegates. + + 2005-11-27 Braden McDaniel <br...@en...> + Don't try to use relative URIs as node_class_id's. |