forked from bartvdbraak/blender
Fix #29574: Strange crash using translated Blender
Description can be NULL for properties like enum items. Just added NULL-check here
This commit is contained in:
parent
2da7066caa
commit
2a426d3eff
@ -469,7 +469,7 @@ static const char *rna_ensure_property_description(PropertyRNA *prop)
|
||||
}
|
||||
|
||||
#ifdef WITH_INTERNATIONAL
|
||||
if((U.transopts&USER_DOTRANSLATE) && (U.transopts&USER_TR_TOOLTIPS))
|
||||
if(description && (U.transopts&USER_DOTRANSLATE) && (U.transopts&USER_TR_TOOLTIPS))
|
||||
description= BLF_gettext(description);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user