forked from blender/blender
Export volumes from object modifier (quick effect) #62
@ -3,7 +3,7 @@
|
||||
|
||||
#include <pxr/usdImaging/usdVolImaging/tokens.h>
|
||||
|
||||
#include "BKE_mesh.hh"
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BLI_path_util.h"
|
||||
#include "DNA_scene_types.h"
|
||||
@ -56,7 +56,7 @@ void VolumeModifierData::init()
|
||||
filepath_ = get_cached_file_path(modifier_->domain->cache_directory,
|
||||
scene_delegate_->scene->r.cfra);
|
||||
ID_LOG(1, "%s", filepath_.c_str());
|
||||
|
||||
|
||||
for (auto &grid_name : pxr::grid_tokens_->allTokens) {
|
||||
field_descriptors_.emplace_back(grid_name,
|
||||
pxr::UsdVolImagingTokens->openvdbAsset,
|
||||
|
@ -3,8 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <pxr/imaging/hd/sceneDelegate.h>
|
||||
|
||||
#include "DNA_fluid_types.h"
|
||||
|
||||
#include "volume.h"
|
||||
|
Loading…
Reference in New Issue
Block a user