Page MenuHome

BGE: Fix ShowDeprecationWarning macro.
ClosedPublic

Authored by Thomas Szepe (hg1) on Feb 27 2015, 5:43 PM.

Diff Detail

Event Timeline

Thomas Szepe (hg1) retitled this revision from to BGE: Fix ShowDeprecationWarning macro..
Thomas Szepe (hg1) updated this object.
This revision is now accepted and ready to land.Feb 27 2015, 8:14 PM
This revision was automatically updated to reflect the committed changes.

What does this fix exactly? (when committing fixes good to say whats broken)

So I thought Fix ShowDeprecationWarning macro is enough description, because it only fix the ShowDeprecationWarning macro which was never working. For me the changes were obviously, so I didn't add an extra comment.
In the macro ShowDeprecationWarning_func() wasn't found because the PyObjectPlus namespace was not not declared. Instead to define the namspace I decided to add it to the functions.

Ok. think I see whats happened.

ShowDeprecationWarning was written and used some years ago, since then namespace use was cleaned up, now using the macro fails.