MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / UpdateEntryData

Method UpdateEntryData

plugins/base/macro-action-scene-transform.cpp:488–504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

486}
487
488void MacroActionSceneTransformEdit::UpdateEntryData()
489{
490 if (!_entryData) {
491 return;
492 }
493
494 _scenes->SetScene(_entryData->_scene);
495 _sources->SetSceneItem(_entryData->_source);
496 _action->setCurrentIndex(
497 _action->findData(static_cast<int>(_entryData->_action)));
498 _rotation->SetValue(_entryData->_rotation);
499 _transformString->setPlainText(_entryData->_transformString);
500 UpdateSettingSelection();
501 _settingSelection->SetSetting(_entryData->_settingSelection);
502 _singleSettingValue->setText(_entryData->_singleSettingsValue);
503 SetWidgetVisibility();
504}
505
506void MacroActionSceneTransformEdit::SceneChanged(const SceneSelection &s)
507{

Callers

nothing calls this directly

Calls 6

SetSceneItemMethod · 0.80
setPlainTextMethod · 0.80
SetSettingMethod · 0.80
setTextMethod · 0.80
SetSceneMethod · 0.45
SetValueMethod · 0.45

Tested by

no test coverage detected