H-uru / Plasma

Cyan Worlds's Plasma game engine
http://h-uru.github.io/Plasma/
GNU General Public License v3.0
205 stars 80 forks source link

Fix Python Parameter display on pre-2022 Max Plugins. #1414

Closed Deledrius closed 1 year ago

Deledrius commented 1 year ago

The change introduced by 107af8272 breaks the plugin as far back as Max 7. This applies the fix only to versions that were confirmed as requiring it.

Hoikas commented 1 year ago

@Deledrius Did you want to test MoveWindow(..., TRUE); as well?

Deledrius commented 1 year ago

@Deledrius Did you want to test MoveWindow(..., TRUE); as well?

I think it's a better fix, if it works. No #ifdef required. I tested it with Max 7 and it doesn't introduce breakage like https://github.com/H-uru/Plasma/commit/107af8272d8bfa9200c27017bd4d5439da9b8097 did, so if it works for later versions as well, I think it's the correct way to go.

Hoikas commented 1 year ago

If you provide a build or commit for me, I will test it ;)

Deledrius commented 1 year ago

Ah well, it was worth a try.