Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-11-04 15:34:41 +0300
committerJacques Lucke <jacques@blender.org>2020-11-04 15:34:41 +0300
commit25a718aa90210e34806158b677713571cf6d251e (patch)
treebc33b77b510ce84db773650dbb65c56008ee34e4 /source/blender/blenkernel/intern/volume.cc
parentf7320c3bf159f14f0c39f88b2302a6e64e7eef76 (diff)
parent27648ed53788bf03cb803dd4d7c7397dce1c4cac (diff)
Merge branch 'blender-v2.91-release' into master
Diffstat (limited to 'source/blender/blenkernel/intern/volume.cc')
-rw-r--r--source/blender/blenkernel/intern/volume.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/volume.cc b/source/blender/blenkernel/intern/volume.cc
index 39fed8601df..9c60cb842ae 100644
--- a/source/blender/blenkernel/intern/volume.cc
+++ b/source/blender/blenkernel/intern/volume.cc
@@ -1156,6 +1156,7 @@ VolumeGrid *BKE_volume_grid_active_get(const Volume *volume)
return BKE_volume_grid_get(volume, index);
}
+/* Tries to find a grid with the given name. Make sure that that the volume has been loaded. */
VolumeGrid *BKE_volume_grid_find(const Volume *volume, const char *name)
{
int num_grids = BKE_volume_num_grids(volume);