behavior3 / behavior3editor

An awesome online visual editor for Behavior3 (Behavior Trees Visual Editor)
MIT License
646 stars 264 forks source link

Unable to remove properties from nodes #6

Open closeratio opened 9 years ago

closeratio commented 9 years ago

It appears as though you can't remove properties from nodes once you've added them. After clicking the red "-" button, although the property disappears, if you deselect the node in question and reselect it, the property is still there.

The only way I've found to permanently remove the property is to manually edit the project file, which is a bit of a pain. The problem appears to be within the BlockManager, specifically the update function. I'd try and trace it further but I'm not that familiar with Angular so I can't currently pinpoint the source of the problem.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26613250-unable-to-remove-properties-from-nodes?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github).
renatopp commented 9 years ago

@closeratio I'm addressing this problem in #12.