| 1565 | } |
| 1566 | |
| 1567 | static void fcall_objects( lk::invoke_t &cxt ) |
| 1568 | { |
| 1569 | LK_DOC( "objects", "Returns a list of the names of all the objects in the scene.", "(none):array" ); |
| 1570 | std::vector<VObject*> list = ((ShadeTool*)cxt.user_data())->GetView()->GetObjects(); |
| 1571 | |
| 1572 | cxt.result().empty_vector(); |
| 1573 | for( size_t i=0;i<list.size();i++ ) |
| 1574 | cxt.result().vec_append( list[i]->Property("Name").GetString() ); |
| 1575 | } |
| 1576 | |
| 1577 | static void fcall_property( lk::invoke_t &cxt ) |
| 1578 | { |
nothing calls this directly
no test coverage detected