PropertyPanel Update

This commit is contained in:
2026-06-13 08:45:16 +08:00
parent 2a8534eda7
commit 43c70be574
4 changed files with 93 additions and 17 deletions
@@ -23,7 +23,7 @@
## 4. Attribute Edit Commands
- [x] 4.1 Create `src/core/commands/AttributeSetCommand.h/.cpp` — stores `std::string description`, `std::function<void()> executeFunc`, `std::function<void()> undoFunc`; captures old value before set using `UsdAttribute::Get<T>` at the call site
- [ ] 4.2 Modify `PropertyManager::SetPropertyValue` and `SetPropertyValueInLayer` — read old value, construct `AttributeSetCommand` with closures for old/new applies, push to `CommandHistory`
- [x] 4.2 Modify `PropertyManager::SetPropertyValue` and `SetPropertyValueInLayer` — read old value, construct `AttributeSetCommand` with closures for old/new applies, push to `CommandHistory`
## 5. Layer Operation Commands