forked from blender/blender
Export volumes from object modifier (quick effect) #62
@ -26,8 +26,8 @@ const Set<pxr::TfToken> supported_grids = {pxr::grid_tokens_->density,
|
||||
pxr::grid_tokens_->velocity};
|
||||
|
||||
VolumeModifierData::VolumeModifierData(BlenderSceneDelegate *scene_delegate,
|
||||
Object *object,
|
||||
pxr::SdfPath const &prim_id)
|
||||
Object *object,
|
||||
pxr::SdfPath const &prim_id)
|
||||
: VolumeData(scene_delegate, object, prim_id)
|
||||
{
|
||||
}
|
||||
|
@ -12,7 +12,9 @@ namespace blender::render::hydra {
|
||||
class VolumeModifierData : public VolumeData {
|
||||
|
||||
public:
|
||||
VolumeModifierData(BlenderSceneDelegate *scene_delegate, Object *object, pxr::SdfPath const &prim_id);
|
||||
VolumeModifierData(BlenderSceneDelegate *scene_delegate,
|
||||
Object *object,
|
||||
pxr::SdfPath const &prim_id);
|
||||
static bool is_volume_modifier(Object *object);
|
||||
|
||||
void init() override;
|
||||
@ -21,7 +23,6 @@ class VolumeModifierData : public VolumeData {
|
||||
void write_transform() override;
|
||||
|
||||
std::string get_cached_file_path(std::string directory, int frame);
|
||||
|
||||
};
|
||||
|
||||
} // namespace blender::render::hydra
|
||||
|
Loading…
Reference in New Issue
Block a user