Fix: Build error after simulation header cleanup
Making the geometry state's geometry public to remove the accessors didn't work without the constructor.
This commit is contained in:
@@ -19,6 +19,7 @@ class SimulationStateItem {
|
||||
|
||||
class GeometrySimulationStateItem : public SimulationStateItem {
|
||||
public:
|
||||
GeometrySimulationStateItem(GeometrySet geometry);
|
||||
GeometrySet geometry;
|
||||
};
|
||||
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
|
||||
namespace blender::bke::sim {
|
||||
|
||||
GeometrySimulationStateItem::GeometrySimulationStateItem(GeometrySet geometry)
|
||||
: geometry(std::move(geometry))
|
||||
{
|
||||
}
|
||||
|
||||
PrimitiveSimulationStateItem::PrimitiveSimulationStateItem(const CPPType &type, const void *value)
|
||||
: type_(type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user