Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI : Property not found: ShaderProps.slsf_1_greyscale_to_palettecolor #244

Closed
neomonkeus opened this issue Apr 6, 2016 · 0 comments
Closed
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working. Error Failure scenario resulting in an error message that should not be seen but operation completes fully Usability Improvement/impact to make the plugin easier to use User Interface Improve/impact how the user interacts with the plugin via Blender UI

Comments

@neomonkeus
Copy link
Member

@niftools/blender-nif-plugin-reviewer

Issue Overview

Regression in UI property registration

Version Information

Blender Nif Plugin Version Info

Blender Nif Plugin v2.6.0.dev4-02-04-2016
https://www.dropbox.com/s/6r7gz3m38r83x6e/blender_nif_plugin-2.6.0a0.dev4-02.04.2016.zip?dl=0

Blender Version Info

Blender 2.77 64bit - Default installation location

Platform information

Win 7

Context

We expose Niftools specific properties in the UI.
When the mouse is moved, a poll function is called.
There is a regression where the UI is polling the NifFormat looking for slsf_1_greyscale_to_palettecolor but is unable to find this.

Steps to Reproduce

  1. Under the Object Tab of the Properties Editor, find the Niftools Shader Panel
  2. Set the Property to BS Lighting Shader Property
  3. The shader property will not appear and pollute the output log

Expected Result

Property should appear.

Actual Result

Missing property and warning in the logs

Possible Fix

Probable regression with an update to the nif.xml or pyffi.

  • Update to look for correctly named item or remove option if it no longer exists
  • Dynamically iterate over items and expose them, doesn't really allow for call back.

Screenshot

N/A

Logs and Files

N/A

Info Bar Output

N/A

Console Output

C:\Users\monkey\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\io_scene_nif\ui\shader.py:113
rna_uiItemR: property not found: ShaderProps.slsf_1_greyscale_to_palettecolor

Blend File

N/A

Nif File

N/A

Similar Known Issues

N/A

Additional Information

N/A

@neomonkeus neomonkeus added Bug Issue with specific functionality not working as intended but overall plugin is working. User Interface Improve/impact how the user interacts with the plugin via Blender UI Usability Improvement/impact to make the plugin easier to use Error Failure scenario resulting in an error message that should not be seen but operation completes fully labels Apr 6, 2016
@neomonkeus neomonkeus added this to the v2.6.0a0.dev5 milestone Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issue with specific functionality not working as intended but overall plugin is working. Error Failure scenario resulting in an error message that should not be seen but operation completes fully Usability Improvement/impact to make the plugin easier to use User Interface Improve/impact how the user interacts with the plugin via Blender UI
Projects
None yet
Development

No branches or pull requests

1 participant