File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
include/geode/model/representation/core Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ namespace geode
9898
9999 using ModelAddedComponentMapping = ModelMapping< std::vector< uuid > >;
100100
101+ using ModelUnchangedComponentMapping = ModelMapping< std::vector< uuid > >;
102+
101103 using MeshElementMapping = GenericMapping< MeshElement, MeshElement >;
102104
103105 using MeshVertexMapping = GenericMapping< MeshVertex, MeshVertex >;
@@ -143,7 +145,8 @@ namespace geode
143145 struct ModelMappings
144146 {
145147 ModelGenericMapping component_mapping;
146- ModelAddedComponentMapping added_component;
148+ ModelAddedComponentMapping added_components;
149+ ModelUnchangedComponentMapping unchanged_components;
147150 ModelMeshesElementMapping mesh_element_mapping;
148151 ModelMeshesVertexMapping mesh_vertices_mapping;
149152 };
Original file line number Diff line number Diff line change @@ -201,7 +201,8 @@ namespace geode
201201 index_t vertex_id ) const
202202 {
203203 OPENGEODE_ASSERT ( vertex_id < this ->nb_vertices (),
204- " [Graph::edges_around_vertex] Accessing an invalid vertex" );
204+ " [Graph::edges_around_vertex] Accessing an invalid vertex (" ,
205+ vertex_id, " but nb_vertices = " , this ->nb_vertices (), " )" );
205206 return impl_->edges_around_vertex ( vertex_id );
206207 }
207208
@@ -243,7 +244,8 @@ namespace geode
243244 index_t vertex_id, EdgesAroundVertex edges, GraphKey )
244245 {
245246 OPENGEODE_ASSERT ( vertex_id < this ->nb_vertices (),
246- " [Graph::get_edges_around_vertex] Accessing an invalid vertex" );
247+ " [Graph::edges_around_vertex] Accessing an invalid vertex (" ,
248+ vertex_id, " but nb_vertices = " , this ->nb_vertices (), " )" );
247249 return impl_->set_edges_around_vertex ( vertex_id, std::move ( edges ) );
248250 }
249251
You can’t perform that action at this time.
0 commit comments