1
0

fix: fix various issues.

- fix convertion loss in CKCamera.
- bump up version to 0.3.0
- use CMake to generate version info header.
- fix annotation about Dassault ComputeCRC error.
- change member field initialization value in CKLight.
This commit is contained in:
2024-12-31 17:43:39 +08:00
parent fe4a58e864
commit c18ff8f2e3
10 changed files with 39 additions and 16 deletions

View File

@@ -362,8 +362,8 @@ namespace Unvirt::CmdHelper {
throw std::invalid_argument("root node should not be inserted as child node.");
// check conflict
const auto& new_node_set = new_node_ptr->GetConflictSet();
for (auto& node : m_Nodes) {
const auto& node_set = node->GetConflictSet();
for (auto& child_node : m_Nodes) {
const auto& node_set = child_node->GetConflictSet();
if (new_node_set.IsConflictWith(node_set))
throw std::invalid_argument("try to add a conflict node. please check your code.");
}