| 31 | } |
| 32 | |
| 33 | bool ChangeTextureValueAction::doMerge(Action* _action) |
| 34 | { |
| 35 | ChangeTextureValueAction* action = dynamic_cast<ChangeTextureValueAction*>(_action); |
| 36 | if (action != nullptr) |
| 37 | { |
| 38 | if (action->getProperty() == getProperty()) |
| 39 | { |
| 40 | getProperty()->setValue(action->getValue()); |
| 41 | return true; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | return false; |
| 46 | } |
| 47 | |
| 48 | } |
nothing calls this directly
no test coverage detected