Live Patch reloading does not update undo transforms
- Dominant language
- C++
- Stars
- 3.3k
- Forks
- 353
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 1
Description
**Description**
Old object transforms are usually saved in a blend file until the blend is refreshed/closed. The previous transform can usually be restored by using Blender's `Undo` function. However, currently only the Blender `3D Viewport` updates an object's transform, while the `Armory Player` object's transform remains constant/outdated unlike transforms with Haxe/Logic-Nodes or transform shortcuts (G, R, S). The Live Patch option is extremely useful for quick prototyping, but so is the Undo function and currently the two elements do not mix together at all.
**To Reproduce**
1. Tweak any transform value (W, Location, Rotation, Scale).
2. Enable `Live Patch` in `Armory Project` settings.
3. Run `Armory Player`
4. Transform any object
5. Attempt to do `Undo` with `CTRL+Z`
**Expected behavior**
`Undo` should work in the Armory Player as well as in Blender.
**System**
Blender: `2.93`
Armory: 2022.3
OS: Windows 11 Home
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU
**Test File**
The issue can easily reproduced in any blend file.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue in any blend file using Blender's 3D Viewport, Armory Project Live Patch, and Armory Player. Compare transform updates after Ctrl+Z; done means undoing a transform updates the Armory Player as it does in Blender.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- blender
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100