Skip to content

Commit

Permalink
U20240605
Browse files Browse the repository at this point in the history
1. Keymap bug fix.
2. Graph editor autohide none selected.
3. Camera animation copy Alpha.
4. Ordinary code cleaning.
  • Loading branch information
NevilArt committed Jun 5, 2024
1 parent 1b260bb commit 1a519b2
Show file tree
Hide file tree
Showing 21 changed files with 1,011 additions and 389 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# 0, 1, 2, 20240603
* Join plus issue with None mesh object fixed.
* Mouse Weel up/down in edit mode select more and less (3DsMax & Blender adapted).
* Bone Hierarchy selection tool error on None Armatour selected in pose mode fixed.
* Link/Append/Import added to Add menu for speed up work flow (Shift+A).
* Cylinder pirimitive issue with bevel modifier when slice is on fixed.
* Code cleaning and some other minor bug fixed.

# 0, 1, 2, 20240527
* Backburner submiter has some updates
* 1. custom Repository directory option.
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ If you found this product useful and want to support this project you can Donate
* [Download Older Version (2.80-2.92)(2.93-3.2)](https://github.com/NevilArt/BsMax_2_80)

## Recent Updates and Changes
* Join plus issue with None mesh object fixed.
* Mouse Weel up/down in edit mode select more and less (3DsMax & Blender adapted).
* Bone Hierarchy selection tool error on None Armatour selected in pose mode fixed.
* Link/Append/Import added to Add menu for speed up work flow (Shift+A).
* Cylinder pirimitive issue with bevel modifier when slice is on fixed.
* Code cleaning and some other minor bug fixed.
* Kemap issues from last update fixed.
* GraphEditor select chanels auto hide unselected chanels (3DsMax Mode).
* Copy Camera animation to other softwares (Alpha version yet).
* Export Camera via Alembic do not transfer FOV animation. this tool helps to port fov and other animations to 3DsMax scene (Maya option is on the way too).
* [Change log ...](https://github.com/NevilArt/BsMax/blob/master/CHANGELOG.md)

## Special Thanks
Expand Down
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
'name': "BsMax",
'description': "BsMax UI simulations and Tool pack (Blender 3.3LTS ~ 4.1)",
'author': "Naser Merati (Nevil)",
'version': (0, 1, 2, 20240603),
'version': (0, 1, 2, 20240605),
'blender': (3, 3, 0),
'location': "Almost Everywhere in Blender",
'wiki_url': 'https://github.com/NevilArt/BsMax/wiki',
Expand Down
67 changes: 53 additions & 14 deletions bsmax/prerequisite.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,46 +19,85 @@


class BsMax_MT_View3D_tools(Menu):
bl_idname = 'BSMAX_MT_view3dtools'
bl_label = 'Tools'
bl_idname = 'BSMAX_MT_view3d_tools'
bl_label = "Tools"

# @classmethod
# def poll(self, ctx):
# return ctx.mode == 'OBJECT'

def draw(self, ctx):
def draw(self, _):
pass


class BsMax_MT_Compositor_tools(Menu):
bl_idname = 'BSMAX_MT_compositor_tools'
bl_label = 'Tools'
bl_label = "Tools"

# @classmethod
# def poll(self, ctx):
# return ctx.mode == 'OBJECT'

def draw(self, ctx):
def draw(self, _):
pass


class BsMax_MT_View3D_Create(Menu):
bl_idname = "BSMAX_MT_create_menu"
bl_idname = 'BSMAX_MT_create_menu'
bl_label = "Create"
bl_context = "objectmode"

@classmethod
def poll(self, ctx):
return ctx.mode == 'OBJECT'

def draw(self, ctx):
def draw(self, _):
pass

class BsMax_MT_View3D_Copy(Menu):
bl_idname = 'BSMAX_MT_view3d_copy'
bl_label = "Copy"
bl_description = "Copy"

# @classmethod
# def poll(self, ctx):
# return ctx.mode == 'OBJECT'

def draw(self, _):
self.layout.operator(
'view3d.copybuffer', text="Object", icon='OBJECT_DATA'
)


class BsMax_MT_View3D_Paste(Menu):
bl_idname = 'BSMAX_MT_view3d_paste'
bl_label = "Paste"
bl_description = "Paste"

# @classmethod
# def poll(self, ctx):
# return ctx.mode == 'OBJECT'

def draw(self, _):
self.layout.operator(
'view3d.pastebuffer', text="Object", icon='OBJECT_DATA'
)


classes = (
classes = {
BsMax_MT_View3D_tools,
BsMax_MT_Compositor_tools,
BsMax_MT_View3D_Create
)
BsMax_MT_View3D_Create,
BsMax_MT_View3D_Copy,
BsMax_MT_View3D_Paste
}


def register_prerequisite():
for c in classes:
register_class(c)
for cls in classes:
register_class(cls)


def unregister_prerequisite():
for c in classes:
unregister_class(c)
for cls in classes:
unregister_class(cls)
Loading

0 comments on commit 1a519b2

Please sign in to comment.