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
2012-10-02revert fix for [#31555] Username with special chars in Windows 7Campbell Barton
this breaks and causes bug: [#32720], where sys.stdout becomes invalid and print() does nothing. On investigation - python is not getting the environment variable from blender (aparently because its a DLL?) so this should be resolved rather then overwriting sys.stdout.
2012-10-01fix for crash found when attempting to setup testing environment to find ↵Campbell Barton
crashes :) scripts that have `Register` enabled and load another blend file would crash blender.
2012-09-23fix for crash executing a python script.Campbell Barton
nice obscure case, when a script executes, frees its self (by loading a file for eg), then has a python error. ... in this case blender would fetch the python exception and attempt to move the cursor in the freed textblock to the error line, crashing blender.
2012-09-22fix for crash getting a member from the operator context override, in some ↵Campbell Barton
cases python didnt hold the GIL.
2012-09-11fix for a bug running a script, then opening a new file.Campbell Barton
BPY_text_free_code() could run outside the python interpreter which abort()'s blender.
2012-09-05fix/workaround [#31555] Username with special chars in Windows 7Campbell Barton
Theres a bug where python/windows ignores PYTHONIOENCODING, workaround this by manually overriding the stdout/stderr.
2012-08-05code cleanup: remove redundant calls to CTX_data_main()Campbell Barton
2012-07-08style cleanupCampbell Barton
2012-06-09fix for un-handled exception when entering in multiple values to a button, ↵Campbell Barton
floats were not correctly checked for.
2012-06-07fix for buffer overrun on windows by kjym3 on IRC.Campbell Barton
2012-05-25fix [#31597] Operator Preset: Python Warning whenever a preset is executed ↵Gaia Clary
(seen on Windows)
2012-05-23style cleanupCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-18patch [#31507] site not automatically imported when using external python ↵Campbell Barton
package made some modificatons to normal python startup also.
2012-05-09Python/context: python could get invalid bpy.data in scene update handler afterBrecht Van Lommel
undo. The way this got updated from the context is a bit unreliable, and for handlers the update couldn't happen because there is no context passed in. Now it's updated from setup_app_data, which is where the change actually happens. I left in the other updates to be sure but they should not be needed anymore.
2012-04-22style cleanup: commentsCampbell Barton
2012-04-21style cleanupCampbell Barton
2012-04-15add 'idprop' module so we can document idprop.types.*, currently doc ↵Campbell Barton
generator has no access to ID Property types.
2012-04-13Fix #30858: UI losing buttons at some random moment after using Blender for aBrecht Van Lommel
while. This may not fix all cases but should at least solve the issue when rendering with cycles. The cause was a race condition on C->data.recursion, with multiple threads accessing context at the same time. Cycles itself does not access context from the render thread, but the bpy api would do a context update for any callback in case e.g. a new file got loaded. Disabled that now in non-main threads. The ideal solution would be to not allow any context access at all from threads but that's not so simple to implement, especially not this close to release.
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-27style cleanup: py apiCampbell Barton
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-18spelling cleanupCampbell Barton
2012-03-17style cleanup: py/capiCampbell Barton
2012-03-09style cleanup: spelling.Campbell Barton
also remove large, duplicate comments from sunsky.h
2012-03-04style cleanup - comment formattingCampbell Barton
2012-02-24bmesh python api - add/improve rst docstrings.Campbell Barton
2012-02-22bmesh py api - generalize bmesg sequences to use the iterator type and ↵Campbell Barton
optionally another bmesh element. This allows BMFace.verts to be added without defining a new sequence type.
2012-02-22initial bmesh python api.Campbell Barton
corrently allows to create and loop over verts/edges/faces, access selection and selection modes. this is still WIP, access to face, edge verts is still missing, no access to UV's, no access to editing operations yet. When the api is ready it will be documented by sphinx like mathutils, blf, aud.
2012-01-17fix for segfault with bpy compiled as python module (dont register atexit)Campbell Barton
update `make lite` built target to remove some newly added features.
2012-01-09Cycles: multi GPU rendering support.Brecht Van Lommel
The rendering device is now set in User Preferences > System, where you can choose between OpenCL/CUDA and devices. Per scene you can then still choose to use CPU or GPU rendering. Load balancing still needs to be improved, now it just splits the entire render in two, that will be done in a separate commit.
2011-12-26formatting edits only to use more consisted styleCampbell Barton
2011-12-24minor edits to cycles c/python moduleCampbell Barton
- rename 'bcycles' --> '_cycles', since this is the python convention when a py module uses a C module internally. - use macros for returning None - make with_osl an attribute rather then a function. - changes methods METH_VARARGS --> METH_O when single args are used.
2011-11-29patch [#29421] Python Noise Module UpdatesCampbell Barton
from Andrew Hale (trumanblending) Tracker description ******************* The current python noise module included with Blender has yet to be updated to the new Py API. This patch does so, with the following major points: - The noise module has now been moved to a submodule of mathutils, it can be accessed by mathutils.noise. It was moved from it's own module as it will now return mathutils types and also have greater visibility to the user. - All functions which return vectors will now return mathutils.Vector types to be consistent with the rest of the API. Previously (x, y, z) tuples were returned. - A different implementation of random_unit_vector is now used, this allows 2D, 3D and 4D vectors to be returned. Previously only 3D was possible. - Some function names have been changed to remove ambiguities and make naming consistent within the module. noise.vector is now noise.noise_vector and noise.vl_vector is now noise.variable_lacunarity - Doc strings have been updated to be compatible with auto docs. - Code style and internal naming has been changed to match the conventions in other mathutils code. Thanks, Andrew
2011-11-26minor bpy api editsCampbell Barton
- strict check for rna properties - formatting edits (120 line width) - use PyDoc_STRVAR macros for getset docstrings
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-07Cycles: svn merge -r41613:41627 ^/trunk/blenderBrecht Van Lommel
2011-11-07Cycles: svn merge -r41531:41613 ^/trunk/blenderBrecht Van Lommel
2011-11-05documentation - brief descriptions for bpy api files.Campbell Barton
2011-10-25Cycles: svn merge -r41225:41232 ^/trunk/blenderBrecht Van Lommel
2011-10-25Cycles: svn merge -r41205:41225 ^/trunk/blenderBrecht Van Lommel
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23set pythons 'sys.stdout' encoding to utf-8 and use surrogateescape error ↵Campbell Barton
handler. without this printing a unicode string may raise an error which is a real pain especially since script authors often forget this and print the path of a file for example on export which can make a script fail outright when writing to paths with certain encodings.
2011-10-22Cycles: svn merge -r41182:41205 ^/trunk/blenderBrecht Van Lommel
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22py api - added PyC_UnicodeFromByteAndSize() to match ↵Campbell Barton
PyUnicode_FromStringAndSize() also made RNA_property_string_get_alloc() return the length of the new string to avoid having to run strlen on it after.
2011-10-22Cycles: svn merge -r41157:41182 ^/trunk/blenderBrecht Van Lommel
2011-10-22Cycles: svn merge -r40934:41157 ^/trunk/blenderBrecht Van Lommel
2011-10-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-20- add BLI_string_utf8.h for unicode functions.Campbell Barton
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.