Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-17Cleanup: duplicate includesCampbell Barton
2015-06-11Add argument --python-expr to pass Python directlyCampbell Barton
This works like Python's -c argument, handy to be able to avoid writing small scripts to disk.
2015-05-18UI: errors in buttons now show in info reportCampbell Barton
Mistakes in button expressions were previously only printed to the console.
2015-04-16Cleanup: remove redundant initializersCampbell Barton
2015-04-01Real fix for T44127: Python does not guarantee to free all objects on exit...Bastien Montagne
All kudos to Campbell for the head-up and patch!
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-09-29Cleanup: spellingCampbell Barton
2014-07-01Python: remove redundant castsCampbell Barton
2014-06-17New python API for units handling.Bastien Montagne
Exposes all supported unit systems & types, and to_value()/to_string() functions. Reviewed and enhanced by CampbellBarton, many thanks! Differential Revision: https://developer.blender.org/D416
2014-06-16Use ARRAY_SIZE to replace (sizeof(a) / sizeof(*a))Campbell Barton
2014-05-01Code cleanup: remove unused kludge for Py/Win encodingCampbell Barton
2014-05-01Fix T31555: Username with special chars in Windows 7Bastien Montagne
At last! Could not check seriously on windows (though it was done during py patch process).
2014-05-01Include removal gave problems with windows, ifdef some back in for windows onlyCampbell Barton
2014-05-01Revert "Fix msvc 2013 compiler errors after the ingenious cleanup in ↵Campbell Barton
4ca67869cc7a." This reverts commit a47a4ef82f37428d391cc14a30fa611d6714e71d.
2014-05-01Fix msvc 2013 compiler errors after the ingenious cleanup in 4ca67869cc7a.Thomas Dinges
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T35176: Python fails with blend files from non-ASCII pathsCampbell Barton
Thanks to Tamito for updating the patch to support Freestyle!
2014-03-05Alternative fix for T38753, use existing __file__ in namespaceTamito Kajiyama
2014-02-22Fix T38753: Python script paths weren't escaped (Win only)Campbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-12Fix T38541: sys.exit fails when blender is built as a py-moduleCampbell Barton
2014-01-06Patch D133: Python wrapper for BLI_kdtree (adds mathutils.kdtree)Campbell Barton
Originally by Dan Eicher, with my own fixes and adjustments (see patch page for details). For details there are unit tests and api example usage. doc/python_api/sphinx-in-tmp/menu_id.png
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2013-12-23Move python threading stuff to own file in bf_python_extSergey Sharybin
This way blender player can easily use BPY_thread_save/restore. Not so much important for master branch, but crucial to solve linking issues in threaded depsgraph branch.
2013-12-17Partial fix for T37604: Deadlock when stopping rendered viewport (Blender ↵IRIE Shinsuke
Internal) - Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender. - The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
2013-12-06BMesh Py API: add bmesh.geometry.intersect_face_point()Campbell Barton
patch originally by mont29 with some edits.
2013-09-19replace macro PYC_INTERPRETER_ACTIVE for PyC_IsInterpreterActive() function ↵Campbell Barton
call, (indirectly referenced Python define of ~30 lines, most were optimized out but still caused some code bloat).
2013-09-02Add poll message when poll fails because of window missing from the context.Campbell Barton
This means calling invoke operators from python in states that dont support will give a meaningful error message. also reduce context lookups when polling.
2013-06-12minor changes to the script auto-execution based on Brecht's suggestions.Campbell Barton
2013-06-10fix [#35691] Context Override replaces instead of overridesCampbell Barton
2013-06-10Python script auto-execution changes:Campbell Barton
- script execution is off by default - if a blend file attempts to execute a script this shows a message in the header with the action that was suppressed (script/driver/game-autostart) and 2 buttons to either reload the file trusted, or to ignore the message. - the file selector will always default to use the trust setting in the user preferences, but reloading an open file will keep using the current setting (whatever was set before or set on the command-line). - added SCons setting WITH_BF_PYTHON_SECURITY, this sets the default state for the user prefereces not to trust blend files on load. ... this option was in CMake before, but always off, now its enabled by default for SCons and CMake, and forced on in CMake for now.
2013-06-10code cleanup: group python reset functions in BPY_python_reset()Campbell Barton
2013-04-23minor changes to get numpy working with locally bundled python.Campbell Barton
- enable site-packages for bundled python distrobution, py3.2 had a problem where it would try to parse headers we didnt include, but its resolved now. - workaround for glitch I was having on arch-linux where lib64 would be be used for the bundled python directory when it was just a symlink.
2013-03-12use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations ↵Campbell Barton
which have been removed.
2013-03-04patch [#34103] use booleans for extensions testing.Campbell Barton
bli_testextensie.patch - from Lawrence D'Oliveiro (ldo)
2013-02-19fix [#34275] Text autocomplete cuts words with accents or special charactersCampbell Barton
autocomplete is now unicode aware, using python api's checks for now. eventually we should have our own.
2013-02-07fix for regression in bpy-api, python context passed to operators couldn't ↵Campbell Barton
override collections.
2013-02-06style cleanup: some warnigs & spelling.Campbell Barton
2013-02-06fix for building blender as a python module,Campbell Barton
changes to internal import behavior of py3.3 broke it.
2013-01-07code cleanup: warnings and use stdbool for bpy* funcs.Campbell Barton
2013-01-04expose common extensions for image/movie/audio types, since python scripts ↵Campbell Barton
had to do this internally. - bpy.path.extensions_image - bpy.path.extensions_movie - bpy.path.extensions_audio eg: if os.path.splitext(filename)[1].lower() in bpy.path.extensions_image: ... we have an image ...
2013-01-02changes needed for EDL import to work again.Campbell Barton
- add sequence.update(data=False) function. - made some sequence vars editable. - correct some comments. also rename rna function sequence.getStripElem() --> strip_elem_from_frame()
2012-12-28remove workaround for [#31555], forcing PYTHONIOENCODING was causing stdout ↵Campbell Barton
to be lost on exit - no MEM_printmemlist_stats()
2012-12-04fix for python button evaluation not restoring the __main__ module.Campbell Barton
2012-12-04fix for typo when overwriting pythons stdout/stderr, also print errors if ↵Campbell Barton
they happen here now.
2012-12-03re-apply a workaround for [#31555] Username with special chars in Windows 7Campbell Barton
this time keep the stderr/stdout so there FD's are not closed (causing [#32720]). This workaround is ugly but saves us from using a patched python.
2012-10-26fix [#31661] Custom properties do no respect min/max valuesCampbell Barton
also renamed function added prev commit
2012-10-26fix for crash when a python operator or render engine was freed in the C ↵Campbell Barton
code and then referenced from python. now further access in python gives an exception at the line when the freed data is accessed.
2012-10-15code cleanup: define sizes of vectors for function args and use C style commentsCampbell Barton