Closed pthom closed 4 years ago
Hello Pascal,
Thanks for the script!
Yesterday, I manually made all gltf and babylon loading examples headerless. I could update 40 examples in one hour, I was doing the same operation over and over again. This script should help saving some hours of manually updating the files.
I noticed the Windows build was broken because of a name clash, the camera gltf scene was renamed so it would work with your sample indexing script but the camera scene already existed. Strange that this worked with gcc. I also fixed the annotations in that sample.
Are you currently running the _make_headerlesssample.py script on other examples or can I continue with making the examples headerless? We can also divide the work if you want to continue with it.
Thanks, Sam
Hello,
This PR adds several things:
It also adds a useful script make_headerless_sample.py
This scripts helps transitionning to headerless examples since it does most of the job.
Usage:
filename_no_extension
andsample_category
at the end of the fileHere is what it does
After that, the example is now almost ready to be committed (you still need to test it :-)