DearPyGui icon indicating copy to clipboard operation
DearPyGui copied to clipboard

Fix `ToPyList` with `mvVec2/4` values

Open SamuMazzi opened this issue 11 months ago • 1 comments


name: Pull Request about: Fixing a bug title: Fix ToPyList with mvVec2/4 values


Description: The function ToPyList had a problem inside of it, where the actual output was never filled the values but left empty. This explains the errors in #2462 where the list of points was left empty and used to throw error when filled with more than 4 points.

Simply replacing the name of the variables fixed the problem.

Closes #2462

SamuMazzi avatar Feb 04 '25 16:02 SamuMazzi

LOL what a typo, SetItem that adds an item to itself :joy:! Good catch!

v-ein avatar Feb 04 '25 17:02 v-ein