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-16Cleanup: styleCampbell Barton
2015-06-14BMesh: use define for stringCampbell 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-06-10Correct typosCampbell Barton
D1337 by @lichtwerk
2015-06-03Correct own fix reference before assignmentCampbell Barton
3rd fix for silly exception conversion!
2015-06-03Correct own recent error printing Python exceptionCampbell Barton
2015-05-26Correct own recent error, uninitialized var useCampbell Barton
2015-05-25Fix T44822: python enums' itemf callback did not handle 'NULL' context case.Bastien Montagne
Enum's itemf callback can be called without context in some cases (UI, doc generation...). Python's enum properties did not handle this at all - it's kind of odd this did not cause more trouble and wasn't notice earlier... Probably dynamic enums using context are not much used in py code. Note about nodes: those are heavy users of dynamic enum with context. Now, we expect `NodeCategory.poll()` and `NodeItem.poll()` to always be called with a valid context (since when there is no context available, we can assume `poll()` is always True). `NodeCategory.items()`, however, must accept NULL context, so if you use custom `items` callable for your custom node categories, you may need to update it (as was done here for builtin `node_group_items()`).
2015-05-21Fix: GPU_shader_export fails /w some lamp attrsCampbell Barton
first/last vars missed some values. D1309 by @NHA
2015-05-18UI: errors in buttons now show in info reportCampbell Barton
Mistakes in button expressions were previously only printed to the console.
2015-05-12Doc: correct rst syntaxCampbell Barton
also remove some API docs from example
2015-05-11Expose PreviewImage & custom icons to py API.Bastien Montagne
This commit mainly: * Exposes PreviewImage struct in RNA, including ways for user to set images data. * Adds a new kind of PreviewImage, using a file path and IMB_thumb to get image. * Adds a new kind of custom icon using PreviewImage, unrelated to ID previews system. * Adds a python API (utils.previews) to allow python scripts to access those custom previews/icons. Note that loading image from files' thumbnails is done when needed (deferred loading), not when defining the custom preview/icon. WARNING: for release addons who would want to use this, please keep it to a strict minimum, really needed level. We do not want our UI to explode under hundreds of different flashy icons! For more info, see also the release notes of Blender 2.75 (http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.75/Addons) and the example/templates featured with Blender. Patch by Campbell (ideasman42), Inês (brita) and Bastien (mont29). Differential Revision: https://developer.blender.org/D1255
2015-05-11GHash: avoid redundant castsCampbell Barton
2015-05-08Add missing TEXTEDIT_UPDATE optionCampbell Barton
2015-05-06Add bpy.app.binary_path_pythonCampbell Barton
Access to the python binary distributed with Blender, fallback to system python executable (matching Blender's version).
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-05-03Fix typos.Tamito Kajiyama
2015-05-02BMesh: BM_vert_separate double edge fixCampbell Barton
Splitting edges could give duplicates.
2015-05-02Cleanup: bmesh src/dst order in API argsCampbell Barton
2015-04-30Correct docstringCampbell Barton
2015-04-25Cleanup: use 8 space indent for multi-line argsCampbell Barton
2015-04-24correcting typos in python api docsInes Almeida
2015-04-24Add debug option --debug-gpumem to show GPU memory used in status bar.Antony Riakiotakis
Only used in ATIs and NVIDIAs. Used extensions are: https://www.opengl.org/registry/specs/ATI/meminfo.txt http://developer.download.nvidia.com/opengl/specs/ If you read the documentation, the numbers are not supposed to be exact and also depend on the time when the call is made. The numbers can also change quite quickly. It's only meant to give a rough measure of what is going on.
2015-04-23Expose CD_PAINT_MASK to Python APICampbell Barton
D782 by Stanislav Blinov
2015-04-16Cleanup: remove redundant initializersCampbell Barton
2015-04-12BMesh: minor optimization counting adjacent dataCampbell Barton
add BM_***_count_is_over(), _count_is_equal() Useful if we only want to know if the count is a smaller value.
2015-04-07Cleanup: brace placement /w structsCampbell 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!
2015-03-24BGE: Fix T43592: World GLSLThomas Szepe
This patch will fix the world GLSL (mist, background, ambient) update for the BGE. Reviewers: moguri, brecht Reviewed By: moguri, brecht Subscribers: panzergame Differential Revision: https://developer.blender.org/D151
2015-03-18Fix crash using removed data as function argumentsCampbell Barton
2015-03-16PyAPI: bpy.ops enum error was cut shortCampbell Barton
2015-03-08BMesh Py API: calc_edge_angle functionsCampbell Barton
Make consistent with calc_edge_angle, take an optional fallback arg for non-manifold edges otherwise raise an exception.
2015-03-06PyAPI: clarify fallback docstringCampbell Barton
2015-03-06Fix T43904: calc_vert_angle returns wrong valueCampbell Barton
This was mis-named, rename to `calc_edge_angle` and allow a fallback value in the case when the vert doesn't have 2-edges.
2015-03-02cleanup: whitespaceCampbell Barton
2015-02-28Py Enum props definition: 'default' parameter cleanup/fix.Bastien Montagne
* There was no real default value for this parameter (neither "" nor None would work the same as not specifying that parameter). Now, 'None' is considered as default value, and you get exact same behavior with this value and if not specifying it. This is important at least for consistency, and potentially too in some esoteric cases (like generated code or so). * Add a warning about the fact that 'default' parameter shall not be psecified when items are given a callback function.
2015-02-23Fix mismatch (missing 'const' to mactch funcs declarations).Bastien Montagne
Was breaking windows compile, reported by bdancer over IRC, thanks. Also, quite some annoying 'unused vars' warnings (debug-only vars).
2015-02-20Fix T43739: bad documentation for bmesh py `intersect_face_point()`Bastien Montagne
Previous text could make think this func was checking whether a point was inside and on the face, while it actually checks whether the projection of that point onto the face is inside its boundary...
2015-02-18CMake: indent & missing headerCampbell Barton
2015-02-18Include SDL information in system info text.Sybren A. Stüvel
Adds bpy.app.sdl to expose SDL version information. When SDL is not available on a Linux system, certain Blender features are silently disabled (like joystick support in the BGE). This change is the first step towards making it more obvious why something isn't working. SDL information is exposed to Python via bpy.app.sdl, in the same way as OCIO and OIIO information is exposed. Generated system-info.txt contains SDL loading method (linked or dynamically loaded by Blender) and SDL version number. Reviewed by: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1112
2015-02-15missed this second last commitCampbell Barton
2015-02-15mathutils: Implement __hash__() functionsCampbell Barton
- all mathutils types - only works on frozen data (so vectors can be used in sets/dict keys) - uses same method as CPython, (matches hashing a tuple) D1104 by @juicyfruit with own modifications
2015-02-15mathutils: add freeze() method, is_frozen attrCampbell Barton
This allows you to make any mathutils object immutable.
2015-02-15mathutils: remove redundant read callbackCampbell Barton
2015-02-15mathutils: avoid extra alloc for Vector.lerpCampbell Barton
2015-02-15Fix crash setting Euler.order to a non-stringCampbell Barton
2015-02-13cleanupCampbell Barton
2015-02-11BPY RNA: add `is_property_readonly()`.Bastien Montagne
This property may be defined dynamically, so mere access to static flag value through `bl_rna.properties[...].is_readonly` is not enough.
2015-02-01Documentation: updated mathutils documentationSybren A. Stüvel
Added descriptions of the constructors, and improved the module-level documentation.