WIP: Brush assets project #106303

Draft
Julian Eisel wants to merge 370 commits from brush-assets-project into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 2e9763c25e - Show all commits

View File

@ -606,9 +606,9 @@ std::string WM_operatortype_description_or_name(bContext *C,
{ {
std::string text = WM_operatortype_description(C, ot, properties); std::string text = WM_operatortype_description(C, ot, properties);
if (text.empty()) { if (text.empty()) {
const std::string text_orig = WM_operatortype_name(ot, properties); std::string text_orig = WM_operatortype_name(ot, properties);
if (!text_orig.empty()) { if (!text_orig.empty()) {
text = BLI_strdupn(text_orig.c_str(), text_orig.size()); return text_orig;
} }
} }
return text; return text;