Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/multires.c
| Show First 20 Lines • Show All 2,511 Lines • ▼ Show 20 Lines | #endif | ||||
| S = 0; | S = 0; | ||||
| *x = 0; | *x = 0; | ||||
| *y = 0; | *y = 0; | ||||
| } | } | ||||
| return S; | return S; | ||||
| } | } | ||||
| /* This is a workaround for T58473. | |||||
| * Force sculpting on the highest level for until the root of the issue is solved. | |||||
| * | |||||
| * When that issue is solved simple replace call of this function with mmd->sculptlvl. */ | |||||
| int BKE_multires_sculpt_level_get(const struct MultiresModifierData *mmd) | int BKE_multires_sculpt_level_get(const struct MultiresModifierData *mmd) | ||||
| { | { | ||||
| return mmd->totlvl; | return mmd->sculptlvl; | ||||
| } | } | ||||