Giter Site home page Giter Site logo

pullusb / script_update_checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tin2tin/script_update_checker

0.0 0.0 0.0 38 KB

Check scripts for elements which needs to updated to latest blender version using the Text Editor UI

Python 100.00%

script_update_checker's Introduction

Script Update Checker

Check scripts for functions which needs to be updated to the latest Blender.

Where

Find it in the Text Editor Sidebar.

How

  1. Open the script in question in the Text Editor and execute the operator in the sidebar.
  2. All items with issues will be listed in the sidebar.
  3. Click on an issue to go to that line.
  4. Fix the line.

Addtional feature

In Update Script panel you will also find:

  • Insert Classes : Create a tuple listing classes names in current text at cursor position.
  • Convert bl_info to manifest : Get infos from bl_info in current text and reformat for Blender 4.2+ Extensions info format. Text is added to clipboard, ready to paste in a manifest.toml file at the root of the addon.

About

nBurn writes: "Add-on update helper script

I found I was regularly overlooking outdated code when doing add-on updates, so I made a very basic helper script to speed up the update process. This script goes through an add-on files and look for lines that might have outdated 2.7x code. If possibly outdated code is found, the code and its line number are printed in the console along with a small note on what to look at.

Please keep in mind this script will not catch everything and tends to generate a lot of false positives, but it has saved me quite a bit of time when updating add-ons for 2.8."

His commandline version is found here: https://blenderartists.org/t/2-80-cheat-sheet-for-updating-add-ons/1148974/48

script_update_checker's People

Contributors

tin2tin avatar pullusb avatar

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.