mirror of
https://github.com/kaosat-dev/Blender_bevy_components_workflow.git
synced 2024-11-22 11:50:53 +00:00
feat(Blender):
* updated version to match Bevy side * added back manifest to do a clean 4.2 extension * removed tmp scene ids
This commit is contained in:
parent
c4d8e02a9d
commit
362d6b214b
@ -1,7 +1,7 @@
|
|||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "blenvy",
|
"name": "blenvy",
|
||||||
"author": "kaosigh",
|
"author": "kaosigh",
|
||||||
"version": (0, 1, 0),
|
"version": (0, 1, 0, "alpha.1"),
|
||||||
"blender": (3, 4, 0),
|
"blender": (3, 4, 0),
|
||||||
"location": "File > Import-Export",
|
"location": "File > Import-Export",
|
||||||
"description": "tooling for the Bevy engine",
|
"description": "tooling for the Bevy engine",
|
||||||
|
@ -13,12 +13,12 @@ import uuid
|
|||||||
def serialize_current(settings):
|
def serialize_current(settings):
|
||||||
# sigh... you need to save & reset the frame otherwise it saves the values AT THE CURRENT FRAME WHICH CAN DIFFER ACROSS SCENES
|
# sigh... you need to save & reset the frame otherwise it saves the values AT THE CURRENT FRAME WHICH CAN DIFFER ACROSS SCENES
|
||||||
current_frames = [scene.frame_current for scene in bpy.data.scenes]
|
current_frames = [scene.frame_current for scene in bpy.data.scenes]
|
||||||
for scene in bpy.data.scenes:
|
"""for scene in bpy.data.scenes:
|
||||||
scene.frame_set(0)
|
scene.frame_set(0)
|
||||||
if scene.id_test == '':
|
if scene.id_test == '':
|
||||||
print("GENERATE ID")
|
print("GENERATE ID")
|
||||||
scene.id_test = str(uuid.uuid4())
|
scene.id_test = str(uuid.uuid4())
|
||||||
print("SCENE ID", scene.id_test)
|
print("SCENE ID", scene.id_test)"""
|
||||||
#https://blender.stackexchange.com/questions/216411/whats-the-replacement-for-id-or-hash-on-bpy-objects
|
#https://blender.stackexchange.com/questions/216411/whats-the-replacement-for-id-or-hash-on-bpy-objects
|
||||||
|
|
||||||
current_scene = bpy.context.window.scene
|
current_scene = bpy.context.window.scene
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
schema_version = "1.0.0"
|
schema_version = "1.0.0"
|
||||||
|
|
||||||
id = "Blenvy"
|
id = "Blenvy"
|
||||||
version = "0.1.0"
|
version = "0.1.0-alpha.1"
|
||||||
name = "Blenvy"
|
name = "Blenvy"
|
||||||
tagline = "Tools to add/edit components of objects, collections etc & create blueprints & levels for the Bevy Engine in Blender"
|
tagline = "Tools to add/edit components of objects, collections etc & create blueprints & levels for the Bevy Engine in Blender"
|
||||||
maintainer = "kaosat-dev <https://github.com/kaosat-dev/>"
|
maintainer = "kaosat-dev <https://github.com/kaosat-dev/>"
|
Loading…
Reference in New Issue
Block a user