Commit 29110496 authored by David Thompson's avatar David Thompson

WIP: Dashboard fixes.

parent 9b232210
Pipeline #146766 failed with stage
......@@ -137,6 +137,7 @@ static void internal_AddBlockInfo(const smtk::mesh::ResourcePtr& meshcollect,
const smtk::model::EntityRef& bordantCell, const vtkIdType& blockId, vtkPolyData* poly,
std::map<smtk::common::UUID, vtkIdType>& uuid2BlockId)
{
(void) meshcollect;
auto meshComp = smtk::mesh::Component::create(blockmesh);
meshComp->properties<long>()["block_index"] = IntegerList(1, blockId);
......
......@@ -315,6 +315,7 @@ static void addBlockInfo(const smtk::model::ResourcePtr& resource,
const vtkIdType& blockId, vtkDataObject* dobj,
std::map<smtk::common::UUID, vtkIdType>& uuid2BlockId)
{
(void) resource;
entityref.entityRecord()->properties<smtk::resource::Integer>()["block_index"] =
smtk::resource::IntegerList(1, blockId);
uuid2BlockId[entityref.entity()] = blockId;
......
......@@ -334,6 +334,7 @@ std::vector<MeshByRegion> subsetByModelProperty(smtk::mesh::ResourcePtr meshReso
smtk::model::ResourcePtr resource, const std::string& modelPropertyName,
smtk::mesh::DimensionType type)
{
(void) resource;
std::vector<MeshByRegion> meshesByModelRef;
smtk::mesh::MeshSet meshes = meshResource->meshes(type);
if (meshes.is_empty())
......
......@@ -53,13 +53,13 @@ public:
PerObjectPropertyStorage(
PerObjectPropertyStorage<V>&& other)
: m_data(std::move(other.data))
: m_data(std::move(other.m_data))
{
}
PerObjectPropertyStorage(
PerObjectPropertyStorage<V>& other)
: m_data(other.data)
const PerObjectPropertyStorage<V>& other)
: m_data(other.m_data)
{
}
......
......@@ -27,6 +27,9 @@
#include "smtk/attribute/ResourceItem.h"
#include "smtk/attribute/StringItem.h"
#include "smtk/resource/Component.h"
#include "smtk/resource/Component.txx"
#include "smtk/session/discrete/kernel/Model/vtkModelEntity.h"
#include "smtk/session/discrete/kernel/vtkModelUserName.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment