mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
270 stars 94 forks source link

RBF manager uses f-strings which breaks compatibility with Maya 2020 #417

Open chris-lesage opened 3 months ago

chris-lesage commented 3 months ago

In this thread, a user is trying to use the RBF manager in Maya 2020. http://forum.mgear-framework.com/t/rbf-manager-importing-rbf/3033/4?u=chrislesage

In order to keep compatibility with Maya 2020, I suggest changing the f-strings to older style string formatting.

Example: rbf_manager_ui.py line 832 print(f"rbfNode: {rbfNode}") to print("rbfNode: {}".format(rfbNode))

miquelcampos commented 3 months ago

Hi @chris-lesage Thanks for flagging this issue. I will fix it ASAP :D