19,587
edits
m (link fix) |
m (link fix; not sure if this addon is gone in Blender 4.2, but the docs page for it sure is) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 145: | Line 145: | ||
Reading for later: | Reading for later: | ||
* https://docs.blender.org/manual/en/ | * https://docs.blender.org/manual/en/4.1/addons/interface/context_menu.html#dynamic-context-menu | ||
* https://blenderartists.org/t/context-sensitive-menu-in-blender/515689 | * https://blenderartists.org/t/context-sensitive-menu-in-blender/515689 | ||
Line 151: | Line 151: | ||
==Build Blender== | ==Build Blender== | ||
https:// | https://developer.blender.org/docs/handbook/building_blender/ | ||
https:// | https://developer.blender.org/docs/handbook/building_blender/windows/ | ||
* https://www.youtube.com/watch?v=eCvuQHlKPEk | * https://www.youtube.com/watch?v=eCvuQHlKPEk | ||
Line 162: | Line 162: | ||
(re)build, the first build takes a couple of good minutes, further builds take about a minute | (re)build, the first build takes a couple of good minutes, further builds take about a minute | ||
make | make | ||
Final executable will be saved to | |||
C:\blender-git\build_windows_Full_x64_vc17_Release\bin\Debug | |||
If there is not enough disk space this fails almost silently. (Progress visible in CMD will simply stop.) | |||
==Build Blender with Visual Studio== | ==Build Blender with Visual Studio== | ||
Line 239: | Line 244: | ||
// C (context) looks like some crazy voodoo, this shouldn't even work right now, but it does | // C (context) looks like some crazy voodoo, this shouldn't even work right now, but it does | ||
// for Blender specific stuff a context is needed otherwise the program will crash | // for Blender specific stuff a context is needed otherwise the program will crash | ||
// https:// | // https://developer.blender.org/docs/features/core/context/ | ||
bool ok; | bool ok; | ||
ok = BPY_run_filepath(C, fn, NULL); | ok = BPY_run_filepath(C, fn, NULL); | ||
Line 274: | Line 279: | ||
* Pipe communication. | * Pipe communication. | ||
[[Category:Userspace]] |