[Bf-blender-cvs] [c5c35e9b476] blender-v2.83-release: Fix for building with MSVC

Campbell Barton noreply at git.blender.org
Fri May 7 07:57:44 CEST 2021


Commit: c5c35e9b476ff6e0bcbe19e65a17964c65042a3e
Author: Campbell Barton
Date:   Fri Apr 23 11:32:32 2021 +1000
Branches: blender-v2.83-release
https://developer.blender.org/rBc5c35e9b476ff6e0bcbe19e65a17964c65042a3e

Fix for building with MSVC

===================================================================

M	source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.cc

===================================================================

diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.cc b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.cc
index 12b841b4a1a..d148a010b76 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup.cc
@@ -33,7 +33,7 @@ namespace DEG {
 
 RuntimeBackup::RuntimeBackup(const Depsgraph *depsgraph)
     : have_backup(false),
-      id_data({.py_instance = nullptr}),
+      id_data({nullptr}),
       animation_backup(depsgraph),
       scene_backup(depsgraph),
       sound_backup(depsgraph),



More information about the Bf-blender-cvs mailing list