Skip to content

Commit

Permalink
Hack to point to rhino.geometry (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
karimi authored Mar 18, 2024
1 parent dc05dea commit 4c254df
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion quasar_site/src/ViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,15 @@ const ViewModel = {
const typemap = {};
ApiInfo.forEach((type) => {
if (type.dataType !== DataTypes.NAMESPACE) {
typemap[type.name] = type;
if (typemap[type.name]) {
let existing = typemap[type.name];
if (existing.namespace != "Rhino.Geometry") {
//In some rare instances, classes have the same name, Rhino.Geometry should take precedence RH-80781
typemap[type.name] = type;
}
} else {
typemap[type.name] = type;
}
}
});
_typemap = typemap;
Expand Down

0 comments on commit 4c254df

Please sign in to comment.