NodesPropertyControl *LandscapeEditorColor::GetPropertyControl(const Rect &rect) { LandscapeEditorPropertyControl *propsControl = (LandscapeEditorPropertyControl *)PropertyControlCreator::Instance()->CreateControlForLandscapeEditor(workingScene, rect, LandscapeEditorPropertyControl::MASK_EDITOR_MODE); propsControl->SetDelegate(this); LandscapeEditorSettingsChanged(propsControl->Settings()); return propsControl; }
NodesPropertyControl *LandscapeEditorCustomColors::GetPropertyControl(const Rect &rect) { LandscapeEditorPropertyControl *propsControl = (LandscapeEditorPropertyControl *)PropertyControlCreator::Instance()->CreateControlForLandscapeEditor(workingScene, rect, LandscapeEditorPropertyControl::COLORIZE_EDITOR_MODE); //(LandscapeEditorPropertyControl *)PropertyControlCreator::Instance()->CreateControlForLandscapeEditor(workingLandscape, rect, LandscapeEditorPropertyControl::COLORIZE_EDITOR_MODE); workingLandscape->SetTiledShaderMode(Landscape::TILED_MODE_TEXTURE); propsControl->SetDelegate(this); LandscapeEditorSettingsChanged(propsControl->Settings()); return propsControl; }