Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Kim <pk15950@gmail.com>2021-08-25 14:39:01 +0300
committerPeter Kim <pk15950@gmail.com>2021-08-25 14:56:52 +0300
commita34652d6f872dab1d5b9f8be191504b0f8c35600 (patch)
treeb1af2b72b0a9473b9750694dd60b7045da76585d /source/blender/windowmanager
parent452cc0193255c9e80ca4f163a2d524ed6bb17ef1 (diff)
Fix: Incorrect declaration of XrActionMaps RNA
This fixes a mistake in the XrActionMaps RNA struct declaration. Originally, the XrActionMaps struct SDNA was set as wmXrData to get access to wmXrRuntimeData. However, this doesn't give a valid pointer and the XrSessionState RNA pointer needs to be passed instead. Since XrSessionState itself does not have SDNA, it is necessary to pass the XrSessionState pointer to the XrActionMaps struct functions (new(), new_from_actionmap(), ...) instead of simply using RNA_def_struct_sdna().
Diffstat (limited to 'source/blender/windowmanager')
0 files changed, 0 insertions, 0 deletions