Coder Social home page Coder Social logo

blender-idproperty's People

Contributors

chaosbot avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

skarndev

blender-idproperty's Issues

Question and proposal

Hi, I have a question and a suggestion.

  1. Is there anyway I can supply this addon with my addon and get it enabled as just one addon? I tried making it a module but it gave me weird errors.

  2. It would be good if validator would not only just check if the item is valid, but would also change the list itself by filtering it.

Make the validator filter the popup list?

Do you think it is possible to not only make the validator check if the selected item from the popup list returns True, but also to remove entries from the popup list when it returns False for them?

This would be really useful to cut a long list short.

Cannot register in 2.77a: '_RestrictData' object has no attribute 'objects'

I installed the add-on as described (installing from the downloaded repo ZIP), but get the following error as soon as I try to enable it in Blender 2.77a:

Traceback (most recent call last):
  File "D:\Archive\Graphics\Blender\2.77\scripts\modules\addon_utils.py", line 330, in enable
    mod = __import__(module_name)
  File "C:\Users\Ray\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\blender-idproperty-master\__init__.py", line 364, in <module>
    register()
  File "C:\Users\Ray\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\blender-idproperty-master\__init__.py", line 344, in register
    load_file()
  File "C:\Users\Ray\AppData\Roaming\Blender Foundation\Blender\2.77\scripts\addons\blender-idproperty-master\__init__.py", line 317, in load_file
    col = getattr(bpy.data, col_name)
AttributeError: '_RestrictData' object has no attribute 'objects'

As seen, this happens in the load_file method. As far as I heard, bpy.data is something like a dummy object at register time, named _RestrictData, and will only be resolved later on: http://blender.stackexchange.com/questions/8702/attributeerror-restrictdata-object-has-no-attribute-filepath

Did I do something wrong or is this an issue in newer Blender versions?

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.