| 26 | { |
| 27 | |
| 28 | void BrushModuleImpl::constructPreferences() |
| 29 | { |
| 30 | // Add a page to the given group |
| 31 | IPreferencePage& page = GlobalPreferenceSystem().getPage(_("Settings/Primitives")); |
| 32 | |
| 33 | // Add the default texture scale preference and connect it to the according registryKey |
| 34 | // Note: this should be moved somewhere else, I think |
| 35 | page.appendEntry(_("Default texture scale"), "user/ui/textures/defaultTextureScale"); |
| 36 | |
| 37 | // The checkbox to enable/disable the texture lock option |
| 38 | page.appendCheckBox(_("Enable Texture Lock (for Brushes)"), "user/ui/brush/textureLock"); |
| 39 | } |
| 40 | |
| 41 | void BrushModuleImpl::construct() |
| 42 | { |
nothing calls this directly
no test coverage detected