Skip to content

Commit

Permalink
wasm tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Jul 24, 2023
1 parent ee23b9b commit 09e47fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/bindings/bnd_decals.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ BND_File3dmDecal::BND_File3dmDecal(const BND_File3dmDecal& d)
_decal = new ON_Decal(*d._decal);
_owned = true;
}
//ON_Dithering::Methods GetMethod() const { return _dit->Method(); }

ON_Decal::Mappings BND_File3dmDecal::GetMapping() const
{
return _decal->Mapping();
Expand Down
4 changes: 2 additions & 2 deletions src/bindings/bnd_skylight.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ using namespace emscripten;
void initSkylightBindings(void*)
{
class_<BND_File3dmSkylight>("Skylight")
.constructor<>()
.constructor<const BND_File3dmSkylight&>()
//.constructor<>()
//.constructor<const BND_File3dmSkylight&>()
.property("enabled", &BND_File3dmSkylight::GetEnabled, &BND_File3dmSkylight::SetEnabled)
.property("shadowIntensity", &BND_File3dmSkylight::GetShadowIntensity, &BND_File3dmSkylight::SetShadowIntensity)
;
Expand Down

0 comments on commit 09e47fa

Please sign in to comment.