Fix Cycles time limit not showing unit when scene units are set to none
This commit is contained in:
@@ -2489,7 +2489,8 @@ bool ui_but_is_unit(const uiBut *but)
|
||||
}
|
||||
|
||||
if (unit->system == USER_UNIT_NONE) {
|
||||
if (unit_type != PROP_UNIT_ROTATION) {
|
||||
/* These types have units irrespective of scene units. */
|
||||
if (!ELEM(unit_type, PROP_UNIT_ROTATION, PROP_UNIT_TIME_ABSOLUTE)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user