[Potlatch-dev] Am I just stupid or is this a bug?

Richard Fairhurst richard at systemeD.net
Wed Jun 8 09:26:29 BST 2011


Eric Wolf <ebwolf at gmail.com> wrote:

> Thanks for looking, Richard... While I have your attention. I want to be able to disable creating and editing ways entirely. What would you recommend as the easiest way to go about that?

Basically you'll need to stop P2 going into any of the ControllerStates that deal with ways (e.g. SelectedWay, DrawWay). Easiest way is probably to find the bit of EditController that switches from one state to another, and simply don't switch if the new ControllerState is one you don't want.

cheers
Richard




More information about the Potlatch-dev mailing list