File tree Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Expand file tree Collapse file tree 1 file changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -262,13 +262,29 @@ class Node:
262
262
return matrix_c (s);
263
263
}
264
264
265
- std::shared_ptr<const Meta> config () const {
265
+ // deprecated --
266
+ std::shared_ptr<const Meta> config () const {
267
+ return m_pConfig;
268
+ }
269
+ std::shared_ptr<Meta> config () {
270
+ return m_pConfig;
271
+ }
272
+ void config (std::shared_ptr<Meta> meta) {
273
+ m_pConfig = meta;
274
+ }
275
+ void reload_config (std::string fn);
276
+ // --
277
+
278
+ std::shared_ptr<const Meta> meta () const {
266
279
return m_pConfig;
267
280
}
268
- std::shared_ptr<Meta> config () {
281
+ std::shared_ptr<Meta> meta () {
269
282
return m_pConfig;
270
283
}
271
- void reload_config (std::string fn);
284
+ void meta (std::shared_ptr<Meta> meta) {
285
+ m_pConfig = meta;
286
+ }
287
+ void reload_meta (std::string fn);
272
288
273
289
virtual void pend () const {
274
290
m_WorldTransform.pend ();
You can’t perform that action at this time.
0 commit comments