Skip to content

Conversation

yttiktak
Copy link

@yttiktak yttiktak commented Jun 5, 2021

animate/attributeName/d needs special treatment to keep node counts equal

yttiktak added 3 commits May 12, 2021 10:02
Just swapped python3 for python
Entire paths can be animated. That data now gets scoured.
python should be pointed to python3 in my os if I want/need to use it.
These are ';' delimited path data that must keep the same number of nodes, so the only cleaning is via serializePath
"""
oldPathStr = element.getAttribute('values')
oldPathStrs = oldPathStr.split(';')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
oldPathStrs = oldPathStr.split(';')
if oldPathStr == '':
return
oldPathStrs = oldPathStr.split(';')

And test for empty values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants