feat: add help menu

feat: better surface topo
fix: cutter node invert not work
This commit is contained in:
2024-10-10 12:54:51 +08:00
parent 487cea4662
commit 86fc18ab69
8 changed files with 30 additions and 8 deletions

View File

@@ -1,3 +1,4 @@
import webbrowser
import bpy
from pathlib import Path
import shutil
@@ -260,3 +261,16 @@ class RemoveAllMissingLayers(bpy.types.Operator, RemoveLayers):
event,
message=f"Are you sure to remove all **Missing** layers?")
return {'RUNNING_MODAL'}
class Help(bpy.types.Operator):
bl_idname = "bioxelnodes.help"
bl_label = "Need Help?"
bl_description = "Online Manual for Beginner"
bl_icon = "HELP"
def execute(self, context):
webbrowser.open(
'https://omoolab.github.io/BioxelNodes/latest/', new=2)
return {'FINISHED'}