Cleanup: remove unused function bc_find_bonename_in_path
This commit is contained in:
parent
d97845a693
commit
2fbf9cb551
|
@ -1176,17 +1176,6 @@ static std::string bc_get_uvlayer_name(Mesh *me, int layer)
|
|||
return "";
|
||||
}
|
||||
|
||||
std::string bc_find_bonename_in_path(std::string path, std::string probe)
|
||||
{
|
||||
std::string result;
|
||||
char *boneName = BLI_str_quoted_substrN(path.c_str(), probe.c_str());
|
||||
if (boneName) {
|
||||
result = std::string(boneName);
|
||||
MEM_freeN(boneName);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
static bNodeTree *prepare_material_nodetree(Material *ma)
|
||||
{
|
||||
if (ma->nodetree == nullptr) {
|
||||
|
|
|
@ -146,8 +146,6 @@ extern void bc_bubble_sort_by_Object_name(LinkNode *export_set);
|
|||
extern bool bc_is_root_bone(Bone *aBone, bool deform_bones_only);
|
||||
extern int bc_get_active_UVLayer(Object *ob);
|
||||
|
||||
std::string bc_find_bonename_in_path(std::string path, std::string probe);
|
||||
|
||||
inline std::string bc_string_after(const std::string &s, const std::string probe)
|
||||
{
|
||||
size_t i = s.rfind(probe);
|
||||
|
|
Loading…
Reference in New Issue