When displaying the voxel size for an adaptive domain the resolution of the adaptive domain was used to calculate the world size of the voxel.
This patch changes this to use the initial size of the domain.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
Same as before. I just added a translation to the voxel indicator so that it stays inside the domain when resizes occur.
Comment Actions
@Clément Foucault (fclem): mind having a second look at this patch :-) I just fixed a related issue T70868 :-)
| source/blender/draw/modes/object_mode.c | ||
|---|---|---|
| 2721 | You can use DRW_shgroup_uniform_vec3_copy for theses. Might be faster and less error prone. | |