Code Monkey home page Code Monkey logo

leomoon-lightstudio's People

Contributors

justin-mueller avatar leomoon avatar postpollux avatar prototype-zer0 avatar styriammz avatar theres1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leomoon-lightstudio's Issues

Using “Background Setup(Optional)”to prompt errors

Python: Traceback (most recent call last):
File "C:\Users\26500\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 294, in execute
bpy.context.scene.world.node_tree.nodes["Background"].inputs[0].default_value = (0.008, 0.008, 0.008, 1)
KeyError: 'bpy_prop_collection[key]: key "Background" not found'

win11 blender3,2

Light list get cleared on turning off other profiles

Light list get cleard on turning off other profiles in multi profile mode

Steps to reproduce:

  1. Activate multi profile mode
  2. create at least two profiles each with some lights
  3. Now turn off one profile with the light bulb symbol. Now the light list suddenly is empty, although it looks like you previous profile is still the selected one. Selecting another profile and then select the profile again fixes it.

So i guess internally it selects the one profile you are turning off, then turns it off. Thus the light list gets empty. But visually it still looks like you selected profile hasn't changed.

Possible solutions:

  1. The selection automatically gets set to the previous slected profile again. So it's like the just turned off profile never got selected, ofcourse only visually. (I would prefer this solution)
  2. The just turned off profile is the selected one, so it's obvious that you have to select the other one again.
    Activate multiple profiles

Feature Request: Button to select Handle of Profile

I think it would be nice to have a small button in the profiles panel to select the handle of the currently selected profile. Because sometimes several handles are at the same location or the handle is inside of the product you want to lighten, so it's a bit fiddly to select it.

Maybe here:
suggestion

Minor unconvenience with copying profiles

When copying a profile the visibility of the copy is always turned off in multimode. I think it would be nice, if it initializes it with the same value that the source has at that moment. Because now it's always an extra click to make it visible if you want to work with it. And that's normally the case if you copied it.

BUG: Light Brush

Blender version 2.93.3

Pressing F and clicking on any mesh produces this error:

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "C:\Users\Ciril\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_brush.py", line 237, in modal
    raycast(override_context, override_event, self.normal_type)
  File "C:\Users\Ciril\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_brush.py", line 64, in raycast
    for obj, matrix in visible_objects_and_duplis():
  File "C:\Users\Ciril\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_brush.py", line 35, in visible_objects_and_duplis
    depsgraph = context.depsgraph
AttributeError: 'OverrideContext' object has no attribute 'depsgraph'

Clicking LightPanel multiple times

Currently if you click to "Light Studio Control Panel" multiple times, you have to close it that many times also.

We could change behavior of "Light Studio Control Panel" button to toggle so if it's closed, that button will open it and if it's open, close it.

Issue with 2.3.10 on Blender 2.79b : Copy BLS profile breaks BLS functionality

Preface: I love BLS and use it often for product renders.
Documentation on BLS is scarse, it is not clear to me if profile copying is supposed to work or is still on the "future ideas" list like Copy Profile to Scene.

Postulate: Copying a profile breaks BLS index logic and stops profile switching from working, basically breaking the scene if you have different BLS profiles (I do that a lot unfortunately)

Versions:
Blender 2.79b
BLS 2.3.10

Minimun steps to reproduce:
Blender standard startup scene (the one with the cube)
(Button) Create Light Studio
(Icon) Copy Light Profile -> Copy Profile
Click the two profiles in the list, profile switching is not working from this point, no matter what you do.

Error:
(From console)

DAG zero... not allowed to happen!
Index update 1
Traceback (most recent call last):
File "C:\Users\Windows 10\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\blender-light-studio\light_profiles.py", line 319, in update_list_index
context.scene.objects.unlink(ob)
RuntimeError: Error: Object 'BLS_HANDLE.001' is not in this scene 'Scene'

File "C:\Users\Windows 10\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\blender-light-studio\light_profiles.py", line 304, in update_list_index

Post scriptum:
As well as this being fixed in future versions, I'd like if we can figure out a way of manually rescuing a scene that has been borked by this error. I have two important Blender scenes that were borked by this copy error, and I'd like to recover them back to working order. I've programmed PHP in the past but Python in Blender is still witchcraft to me, and I can't figure out where the data for profiles is kept in the scene.

Show light effects for each light in the LightPanel

Show these options per light in the Light Studio Control Panel:

  • Texture Switch
  • Color Overlay and Color Saturation
  • Mask - Gradient Switch
  • Mask - Gradient Type
  • Mask - Gradient Amount
  • Mask - Ring Switch
  • Mask - Ring Inner Radius
  • Mask - Ring Outer Radius
  • Mask - Top to Bottom
  • Mask - Bottom to Top
  • Mask - Left to Right
  • Mask - Right to Left
  • Mask - Diagonal Top Left
  • Mask - Diagonal Top Right
  • Mask - Diagonal Bottom Left
  • Mask - Diagonal Bottom Right

Copying lights broken in multi profile mode

Copying lights has some problems with multi pfrofile mode, too.

It works fine if only the profile is visible in which you want to duplicate a light. But if you have several visible profiles then it will result in a mess. It gets added to the first visible profile, still has the name of the light in the profile it comes from and also rotates around the origin of that profile, but it is listed in the wrong one.

Blender 3.5 on macOS Issue

LightStudio can't be activated on macOS using Blender 3.5.1:

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.5/scripts/modules/addon_utils.py", line 333, in enable
    mod = __import__(module_name)
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/__init__.py", line 21, in <module>
    auto_load.init()
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/auto_load.py", line 30, in init
    modules = get_all_submodules(Path(__file__).parent)
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/auto_load.py", line 67, in get_all_submodules
    return list(iter_submodules(directory, [directory.name](http://directory.name/)))
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/auto_load.py", line 74, in iter_submodules
    yield importlib.import_module("." + name, package_name)
  File "/Applications/Blender.app/Contents/Resources/3.5/python/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/deleteOperator.py", line 4, in <module>
    from . import light_list
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/light_list.py", line 6, in <module>
    from . operators import modal
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/operators/modal.py", line 5, in <module>
    from . modal_utils import *
  File "/Users/rebecca/Library/Application Support/Blender/3.5/scripts/addons/leomoon-lightstudio-master/operators/modal_utils.py", line 183, in <module>
    lightIconShader = gpu.types.GPUShader(vertex_shader, fragment_shader)
Exception: Shader Compile Error, see console for more details

IndexError: list index out of range

Hi

I am trying to use this addon with Blender 3.0

location: <unknown location>:-1
Error: Python: Traceback (most recent call last):
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\leomoon-lightstudio\light_operators.py", line 189, in execute
    bpy.ops.lls_list.new_profile()
  File "C:\BLENDER\3.0\scripts\modules\bpy\ops.py", line 132, in __call__
    ret = _op_call(self.idname_py(), None, kw)
RuntimeError: Error: Python: Traceback (most recent call last):
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\leomoon-lightstudio\light_profiles.py", line 109, in execute
    lls_collection = get_lls_collection(context)
  File "C:\Users\USER\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\leomoon-lightstudio\common.py", line 25, in get_lls_collection
    return [c for c in context.scene.collection.children if c.name.startswith('LLS')][0]
IndexError: list index out of range
location: C:\BLENDER\3.0\scripts\modules\bpy\ops.py:132
location: <unknown location>:-1

Relocating Help

Move LightStudio help from the top of the 3D view to the bottom where all other helps are shown in Blender 2.80.
This might help:
bpy.types.WorkSpace.status_text_set("hello world")

Blender-2.8

Hello
We need update for your Epic Addon!)))) please

Copy selected profile buggy with multi profile mode

First thanks for implementing the multi profile mode. Just tested it an I think it's pretty neat!

Now to the bug:
Copy selected Profile seems to always copie the first visible profile, not the selected one.

Steps to reproduce

  1. Activate multiple profiles
  2. Create two different profiles
  3. Now try to duplicate profiles:
  • With both visible try to duplicate the second one -> It will have the name of the second one, but it will duplicate the first one
  • With only the one you want to duplicate set to visible -> everything correct
  • With none visible -> Phyton Traceback

Add light failed in blender 3.1

  File "C:\Users\atticus\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 331, in execute
    advanced_light_collection = [c for c in collection.children if c.name.startswith('LLS_Advanced')][0]
IndexError: list index out of range

location: <unknown location>:-1

image

Plugin not working properly with extended Latin character in user name

Hi There,

First of all, thanks for this great add-on! It works very well!
My problem is my Windows 10 user folder name is 'Varge Mátyás' which contains extended latin characters.
Because of this, the addon light textures don't work properly. Do you have any idea, how could I solve that?

Thank,
Matt

Sometimes Blender 3.3 quits

I have an issue where Blender 3.3 quits (disappears from screen) using Lightstudio. Hard to know what happens, one of the things I observed is that soloing and un-soloing is one of the things that make this happen from time to time, but also letting Blender run for a long time. Not sure if this is a Blender bug? I installed newest drivers for ma 3080Ti card to see it maybe it's related to my GPU drivers.

Full Scene Copy bug in Blender 2.93

Blender 2.93.
steps:
1- Create a Full Copy Scene from a scene with LLS (my case, one LS profile and four advanced lights)
2- Delete LLS in the copied scene via Delete LightStudio button in LLS panel. This deletes all LLS in Outliner.
3- Create a new LS setup. Instead of creating a blank setup, the bug brings back the deleted LS profile with all its lights in outliner. If I click on LS Control Panel, it will crash Blender. But if I delete the profile again and create a new one, LLS works properly.

Maybe move the profiles panel up

I would suggest to put the "profile" panel just overt the "lights" panel.

Reasoning:
When you click through the profiles and you have a profile witn no lights, or one with simple lights while others use Advanced lights, then the panels are jumping wildly which is a bit annoying.

Feature Request: Make rotation of handle have an impact

Right now the location of the handle has an effect, but not rotation and scale. I think it would be great if at least the rotation has an effect, too.

Especially if you work with multiple profiles to light several products it's nice if you can copy a profile move it to the next product and just rotate the whole setup to make the base fit better and then make some fine adjustments. At the moment I would have to move each light of the profile separately to replicate a similar setup.

I get that scale would be problematic because of energy conservation. When lights change their size they will of course change their light strength. So that might not make sense.

Is there some reasoning for disallowing rotation, too?

addon not found: 'leomoon-lightstudio'

Hi

I am trying to use this under 2.83 and this is the erro I get when I try to enable the addon from the addon panel. It shows up there but it is not possible to enable or check the tickbox and throws addon not found: 'leomoon-lightstudio' in the terminal when I click on to enable it.

I am using 2.83, Windows 10 x64,LLS 2.5.2

Selection through objects

I found an issue which only comes up when the plugin is enabled. When trying to move an object via the Gizmo, if there is an object behind the gizmo handle it will move that object instead. I made a quick gif but you can clearly see that in the end the centered cube is completely hidden by the selected cube and still it is the center cube that is selected and moved on the Z axis.

light studio breaks 3d manipulator

In object mode manipulator is not working for 3d view. Even on new file without any studio preparation. When addon is off manipulator works again

Basic light issues

Selecting basic lights will give this error:

Traceback (most recent call last):
  File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 428, in msgbus_callback
    light_group_list = [n for n in active_object.active_material.node_tree.nodes if n.name.startswith('Group')]
AttributeError: 'NoneType' object has no attribute 'node_tree'
File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 411, in msgbus_callback
Traceback (most recent call last):
  File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 428, in msgbus_callback
    light_group_list = [n for n in active_object.active_material.node_tree.nodes if n.name.startswith('Group')]
AttributeError: 'NoneType' object has no attribute 'node_tree'
File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\light_operators.py", line 411, in msgbus_callback

Also switching a basic light from Normal to Animation then back to Normal has strange behavior.

LightStudio can't be activated on blender4.0

LightStudio can't be activated on blender4.0

Traceback (most recent call last):
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\scripts\modules\addon_utils.py", line 364, in enable
    mod = importlib.import_module(module_name)
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\__init__.py", line 21, in <module>
    auto_load.init()
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\auto_load.py", line 30, in init
    modules = get_all_submodules(Path(__file__).parent)
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\auto_load.py", line 67, in get_all_submodules
    return list(iter_submodules(directory, directory.name))
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\auto_load.py", line 74, in iter_submodules
    yield importlib.import_module("." + name, package_name)
  File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\deleteOperator.py", line 4, in <module>
    from . import light_list
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\light_list.py", line 6, in <module>
    from . operators import modal
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal.py", line 5, in <module>
    from . modal_utils import *
  File "C:\Users\design\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal_utils.py", line 10, in <module>
    shader2Dcolor = gpu.shader.from_builtin('2D_UNIFORM_COLOR')
ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '2D_UNIFORM_COLOR'


Try rotate the view - appear Select Menu

Can some help me?

If I add Blender Light Studio Add-on
when mouse over objects (2 and more) and i try to rotate the view (Alt+Press Left mouse button) every time appear the window "Select Menu"
If Light Studio is disabled, everything is working fine and window not appear
How I can disabled appear "Select Menu"?

help

Feature Request: multiple profiles active at once

What:
Make it possible to have several active profiles and not just one.

Why:
LLS is super cool to light a single product. In my case I have a whole world with a lot of products in it. Each product has to have nice lighting. So what I would love to have is the possibility to have several LLS profiles active at the same time. For each product one profile. Unfortunately as soon as I click a profile all the others get unlinked. So this is not feasible for a scene with several products distributed across some space.

Implementation Proposal:
I think for single product lighting it's optimal as it is right now. So I would try to keep that as default. My proposal is to add a simple boolean called something like "multi mode" to the Profiles tab. It's unchecked by default. If it is unchecked everything is just like it used to be. As soon as you ceck it, you get the same two buttons known from the light list to disable or isolate each profile. So now if you just click on a profile it should only change the light list and not unlink any profile. Unlinking happens only through disabeling or isolating.

multi mode prev

There could also be an extra label above the light list (only if multi mode is active) so it's clear to which light profile the lightlist belongs. Like so:

LightListWithProfileName

As an alternative one could also just go without the "multi mode" checkbox and only add the mute and isolate buttons to the profiles. Because you could just click the star icons of the profiles to get the exact same behaviour as it is right now, but you would gain much more flexibility in how to use this awesome addon.

Can't use other textures than the softbox

Changing the textures for a light, but it keeps using the Softbox texture.

Just downloaded the latest version, I followed the install instructions, the folder with the textures has been copied to the addons folder.

LightStudio error when opening Blender 2.8x

Exception ignored in: <function ImagePreviewCollection.del at 0x00000256AB6A4D08>
Traceback (most recent call last):
File "D:\Programs\blender-2.80-windows64\2.80\scripts\modules\bpy\utils\previews.py", line 79, in del
f"{self!r}: left open, remove with "
ResourceWarning: <ImagePreviewCollection id=0x256ab615780[0], <super: <class 'ImagePreviewCollection'>, >>: left open, remove with 'bpy.utils.previews.remove()'

so, i'm guessing it's not compatible with 2.93 yet?

because this is what i'm getting when i try to enable it:

  File "D:\blender k-cycles\2.93\scripts\modules\addon_utils.py", line 386, in enable
    mod.register()
  File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\__init__.py", line 32, in register
    auto_load.register()
  File "C:\Users\username\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\leomoon-lightstudio-master\auto_load.py", line 36, in register
    bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'LLS_PT_Studio'```

Cant turn On

Traceback (most recent call last):
File "C:\Users\Emilsvfx\Desktop\devbuild-03-09-2018\Release\2.79\scripts\modules\addon_utils.py", line 351, in enable
mod = import(module_name)
File "C:\Users\Emilsvfx\AppData\Roaming\Bforartists\Bforartists\2.79\scripts\addons\blender-light-studio_init_.py", line 38, in
modules = developer_utils.setup_addon_modules(path, name, "bpy" in locals())
File "C:\Users\Emilsvfx\AppData\Roaming\Bforartists\Bforartists\2.79\scripts\addons\blender-light-studio\developer_utils.py", line 35, in setup_addon_modules
modules = import_submodules(names)
File "C:\Users\Emilsvfx\AppData\Roaming\Bforartists\Bforartists\2.79\scripts\addons\blender-light-studio\developer_utils.py", line 27, in import_submodules
modules.append(importlib.import_module("." + name, package_name))
File "C:\Users\Emilsvfx\Desktop\devbuild-03-09-2018\Release\2.79\python\lib\importlib_init_.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\Emilsvfx\AppData\Roaming\Bforartists\Bforartists\2.79\scripts\addons\blender-light-studio\gui.py", line 151, in
from extensions_framework import util as efutil
ImportError: cannot import name 'util' from 'extensions_framework' (unknown location)

I'm getting the following error: LLS_OT_control_panel has been removed

Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\Softwares\Blender\stable\blender-4.0.0+stable.878f71061b8e\4.0\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master_init_.py", line 38, in register
deleteOperator.add_shortkeys()
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\deleteOperator.py", line 95, in add_shortkeys
register_keymaps()
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\deleteOperator.py", line 71, in register_keymaps
km, kmis = get_user_keymap_item('Object Mode', 'object.delete', multiple_entries=True)
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\common.py", line 12, in get_user_keymap_item
return km, [i[1] for i in km.keymap_items.items() if i[0] == keymap_item_idname]
AttributeError: 'NoneType' object has no attribute 'keymap_items'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\checksqe.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\draw.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\exception.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\kitsu.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\log.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\operators.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ops.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\opsdata.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\prefs.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\props.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\ui.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\util.py'
fake_module: addon missing 'bl_info' gives bad performance!: 'C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\vars.py'
Exception in module register(): C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master_init_.py
Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\Softwares\Blender\stable\blender-4.0.0+stable.878f71061b8e\4.0\scripts\modules\addon_utils.py", line 401, in enable
mod.register()
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master_init_.py", line 33, in register
auto_load.register()
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\auto_load.py", line 38, in register
bpy.utils.register_class(cls)
ValueError: register_class(...): already registered as a subclass 'LLS_PT_Studio'
blenderkit updater: Running background check for update
blenderkit addon: Starting background checking thread
blenderkit addon: Checking for update now in background
blenderkit addon: Checking for update function
blenderkit INFO: Global dir permissions are OK. [11:37:46.891, utils.py:1281]
blenderkit addon: Read in JSON settings from file
blenderkit addon: Determined it's not yet time to check for updates
blenderkit addon: Aborting check for updated, check interval not reached
blenderkit addon: Finished check update, doing callback
blenderkit addon: Running background update callback
blenderkit addon: BG thread: Finished check update, no callback
blenderkit INFO: Dependencies are available [11:37:47.167, dependencies.py:111]
blenderkit INFO: Daemon is running on port 62485! [11:37:48.769, timer.py:87]
Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Realtime_Materials\t3dn_bip\threads.py", line 66, in _emplace_timer
preview.icon_size = data['icon_size']
TypeError: 'NoneType' object is not subscriptable
Keymaps not read.
Read blend: "C:\Users\Matteo Di Rollo\Desktop\Share\JeamsRead_cosmetic\JamesRead_GradualTan_v8.blend"
WARN (bke.modifier): C:\Users\blender\git\blender-v400\blender.git\source\blender\blenkernel\intern\modifier.cc:461 BKE_modifier_set_error: Object: "Cylinder_cup", Modifier: "WeightedNormal", Enable 'Auto Smooth' in Object Data Properties
WARN (bke.modifier): C:\Users\blender\git\blender-v400\blender.git\source\blender\blenkernel\intern\modifier.cc:461 BKE_modifier_set_error: Object: "Bottle", Modifier: "WeightedNormal", Enable 'Auto Smooth' in Object Data Properties
Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal.py", line 415, in invoke
panel_global = Panel(Vector((15, 45)), pw, pw*(9/16))
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal_utils.py", line 340, in init
self.button_fast_3d_edit = Button(Vector((0,0)), f'Light Brush [{kmi.type}]')
AttributeError: 'NoneType' object has no attribute 'type'
Error: Python: Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal.py", line 415, in invoke
panel_global = Panel(Vector((15, 45)), pw, pw*(9/16))
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal_utils.py", line 340, in init
self.button_fast_3d_edit = Button(Vector((0,0)), f'Light Brush [{kmi.type}]')
AttributeError: 'NoneType' object has no attribute 'type'

Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal.py", line 493, in modal
update_light_sets(self.panel, context)
File "C:\Users\Matteo Di Rollo\Softwares\Blender\stable\blender-4.0.0+stable.878f71061b8e\4.0\scripts\modules\bpy_types.py", line 898, in getattribute
properties = StructRNA.path_resolve(self, "properties")
ReferenceError: StructRNA of type LLS_OT_control_panel has been removed

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\Matteo Di Rollo\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\leomoon-lightstudio-master\operators\modal.py", line 673, in modal
self._unregister_handler()
File "C:\Users\Matteo Di Rollo\Softwares\Blender\stable\blender-4.0.0+stable.878f71061b8e\4.0\scripts\modules\bpy_types.py", line 898, in getattribute
properties = StructRNA.path_resolve(self, "properties")
ReferenceError: StructRNA of type LLS_OT_control_panel has been removed

LightStudio side menu is not ordered correctly

LightStudio menu is not ordered correctly in 2.81. It should be:
[studio], [lights], [visibility options], [selected light], [profiles], [import/export], [misc].

Also if there is no way of making [visibility options] buttons work, we can hide that panel for now.

copying lights has unintuitive behaviour

Thanks for all the fixes, works like a charm! I think copying a light could still be improved a bit.

When you copy a light this is what right now happens:

  • The light you wanted to copy remains the active one
  • The light you just have copied is selected, but not the active one
  • In the light list your newly created one (the copy) is selected

Now if I immediately hit "g" to move my new light I actually move the old one (the source of the copy). I would expect to move my newly created one, as this is also selected in the light list.

My suggestions:

  1. completely deselect the source and make the copy the active object
    or 2. keep the source selected, but make the copy the active object.

I think I would prefer solution 1 as I don't see a lot of value in keeping that selection

Support For Blender 3.2.0

Add on Not Working For Blender 3.2.0

also If i change Lights from Viewport can be possible it will update on Panel too???

Unable to move light using G hotkey in Blender 3.1.0

move:

Python: Traceback (most recent call last):
  File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\leomoon-lightstudio\operators\modal.py", line 243, in invoke
    self.mouse_x = context.area.width/2
  File "D:\LeoMoon\Desktop\blender-3.1.0-windows-x64\3.1\scripts\modules\bpy_types.py", line 778, in __setattr__
    return setattr(properties, attr, value)
TypeError: bpy_struct: item.attr = val: LIGHT_STUDIO_OT_grab.mouse_x expected an int type, not float

location: <unknown location>:-1

rotate:

Python: Traceback (most recent call last):
  File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\leomoon-lightstudio\operators\modal.py", line 73, in invoke
    self.mouse_x = context.area.width/2
  File "D:\LeoMoon\Desktop\blender-3.1.0-windows-x64\3.1\scripts\modules\bpy_types.py", line 778, in __setattr__
    return setattr(properties, attr, value)
TypeError: bpy_struct: item.attr = val: LIGHT_STUDIO_OT_rotate.mouse_x expected an int type, not float

location: <unknown location>:-1

scale:

Python: Traceback (most recent call last):
  File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\leomoon-lightstudio\operators\modal.py", line 156, in invoke
    self.mouse_x = context.area.width/2
  File "D:\LeoMoon\Desktop\blender-3.1.0-windows-x64\3.1\scripts\modules\bpy_types.py", line 778, in __setattr__
    return setattr(properties, attr, value)
TypeError: bpy_struct: item.attr = val: LIGHT_STUDIO_OT_scale.mouse_x expected an int type, not float

location: <unknown location>:-1

Also clicking alight in LightPanel will close it.

LightStudio error when deleting studio

Traceback (most recent call last):
File "C:\Users\LeoMoon\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\leomoon-lightstudio_beta1\light_operators.py", line 73, in execute
scene.objects.unlink(ob)
AttributeError: 'bpy_prop_collection' object has no attribute 'unlink'
location: :-1

Addon under 2.93 still broken

Trying to install the addon with the 2.93 hotfix still causes a error to occur when I try to install it. When I restart Blender after trying to install it, it's activatable and works but after restarting Blender again the addon is still activated but doesn't function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.