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-11-30PyAPI: expose low level RNA to bpy.typesCampbell Barton
2015-11-25Cleanup: use correct name in printsCampbell Barton
2015-11-25PyAPI: remove workaround for Py3.4 bugCampbell Barton
2015-11-25BMesh: raise exception face-split w/ adjacent loopsCampbell Barton
Was raising "internal error".
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-23C99 is now the C standard for all our C code.Brecht Van Lommel
The main new feature is mixed variable declarations and code, which can help reduce uninitialized variables or accidental variable reuse. Due to incomplete C99 support in VS 2013, variable length arrays are not supported, BLI_array_alloca must still be used. The header <tgmath.h> is also not supported. Differential Revision: https://developer.blender.org/D1631
2015-11-19Cleanup: remove unused bmesh iteratorCampbell Barton
2015-11-16Add missing newlines for debug printsCampbell Barton
2015-10-27View3D offscreen buffer was interferring with view navigationDalai Felinto
the RegionView3D matrices need to be re-set after drawing. Review and touch ups by Campbell Barton
2015-10-24Cleanup: use quat to eul w/ mathutils APICampbell Barton
2015-10-23BLI_math: add mat3_normalized_to_* functionsCampbell Barton
Many uses of matrices for rotation keep them normalized, so no need to normalize each time.
2015-10-20New function to draw offscreen, and related API changesDalai Felinto
This expose the capability of handling offscreen drawing. The initial support lays the barebones for addons to work with framebuffer objects and implement 3d viewport offscreen drawing. This can be used by script writers to make fisheye lens preview, head mounted display support, ... The complete documentation is here: http://www.blender.org/api/blender_python_api_2_76_1/gpu.offscreen.html Review and many changes by Campbell Barton (thank you :) https://developer.blender.org/D1533
2015-10-20Cleanup: remove _POSIX_C_SOURCE undefineCampbell Barton
2015-10-18Fix T46520: mathutils.bvhtree crashes with distance input.Bastien Montagne
Should be backported to 'a' release.
2015-10-15Cleanup: BLO_read: linking API arg order and name.Bastien Montagne
linking API funcs would use 'name, idcode', when all other code here uses (more sensible) 'idcode, name'. Also, use 'name' arg name when we expect a bare name, without the prepended ID code, and 'idname' arg name when we expect a complete ID name. And here too, idcode shall be short, not int!
2015-10-153D View: support non-uniform scaled lampsCampbell Barton
D1378 by @youle Non-uniform scaled lamps now cast oval/rectangular shadows, viewport & BGE.
2015-10-13Fix T46002: mathutils.geometry.intersect_line_line_2d doesn't operate on ↵Bastien Montagne
lines, but on line segments. Ugly issue really, but at least doc now matches behavior of the function. :|
2015-10-12Cleanup & rework of BLO_linking code.Bastien Montagne
This commits does mostly two things: * Get rid of bContext parameter: I can see no real good reason to pass such a high-level data to such low-level code... It also makes it more difficult to call when you do not have a context available. * Cleanup the instantiating part. Last point is the most risky - previous code was sometimes quite confusing and hard to follow, from tests nothing behaves differently in new code, but some hidden corner case may show up. Anyway, no change in behavior is expected from this commit, if it happens please file a bugreport!
2015-10-12Cleanup in BLO API: rename 'append' funcs to 'link', since none do append, ↵Bastien Montagne
but only linking of datablocks!
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-10-08BLI_path api, minor changes to CWD handlingCampbell Barton
- BLI_current_working_dir's return value must be checked, since it may fail. - BLI_current_working_dir now behaves like getcwd, where a too-small target will return failure. - avoid buffer overrun with BLI_path_cwd, by taking a maxlen arg.
2015-09-26Use PyThreadState_GetDict, avoid Python internalsCampbell Barton
Works around problems caused by exposing Py internals (Py_BUILD_CORE). - Build error with GCC, Py3.6 & OpenMP - Linking error on MSVC
2015-09-23Workaround for linking Python on win32Campbell Barton
2015-09-21Recent change for Py3.6 compat caused fatal-errorCampbell Barton
Revert back to old method, and define Py_BUILD_CORE to expose internals.
2015-09-19Fix for building w/ Python3.6Campbell Barton
2015-09-18BLF: initial word-wrap supportCampbell Barton
- Adds support for word wrapping to Blender's BLF font library. - Splits lines when width limit is reached or on explicit \n newlines. Details: - Word wrapping is used when `BLF_WORD_WRAP` flag is enabled. - There is a single loop to handle line wrapping, this runs callback, passing in a substring, this way we can avoid code-duplication for all word-wrapped versions of functions... OR... avoid having to add support for word-wrapping directly into each function. - The `ResultBLF` struct was added to be able to get the number of wrapped lines, when calling otherwise unrelated functions such as `BLF_draw/BLF_width/BLF_boundbox`, which can be passed as the last argument to `BLF_*_ex()` functions. - The `ResultBLF` struct is used to store the result of drawing (currently only the number of lines wrapped, and the width).
2015-09-18Cleanup: simplify PyBMesh customdata API useCampbell Barton
2015-09-17Fix T46090: Blender game embedded player crashSybren A. Stüvel
SCons didn't pass `-DWITH_AUDASPACE` to the compiler, so it skipped the instantiation of the "aud" Python module. This caused a crash of the BGE, which did get the `-DWITH_AUDASPACE` directive, and expected that module to exist. Reviewed by: lukastoenne
2015-09-13Cleanup: spellingCampbell Barton
2015-09-10PyAPI: add an update method for propertiesCampbell Barton
This is called when modifying an RNA property, however it can be useful to be able to make a properties update callback run without having to change it.
2015-09-10Show correct syntax for id-propertiesCampbell Barton
2015-09-09bgl: fix implicit overflowCampbell Barton
2015-09-09bgl: disable some defines not found in mesa 7Campbell Barton
2015-09-09Fixes T46060 Regenerated the full list of constants we should exposeMartijn Berger
2015-09-07Cleanup: gpu constants weren't so clearly arrangedCampbell Barton
Also reminder to update docs w/ the API.
2015-09-04Math Lib: Use plane intersect from graphics-gemsCampbell Barton
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-09-01Don't use GCC-only pragma for all compilersSergey Sharybin
2015-09-01Fix T45976: Crash accessing BMesh customdataCampbell Barton
Layers returned from items() and values() could have an invalid index.
2015-09-01Fix T45939: Crash w/ BMesh.*.sort()Campbell Barton
2015-09-01Use qsort_r for BMesh Py APICampbell Barton
2015-08-31Fix T45955: Python's pdb can't show script sourceCampbell Barton
2015-08-25Cleanup: styleCampbell Barton
2015-08-24mathutils.BVHTree: support overlap self-intersectCampbell Barton
Use same logic as BKE_bmbvh_overlap
2015-08-24BVHTree.FromBMesh() missed epsilon argCampbell Barton
2015-08-22Cleanup: spellingCampbell Barton
2015-08-20Resolve MSVC/OpenMP compat issueCampbell Barton
2015-08-20BVH-overlap: add callback to BLI_bvhtree_overlapCampbell Barton
The callback checks if 2 nodes intersect (not just their AABB). Advantages: - theres no need to allocate overlaps which are later ignored. - expensive intersection tests will run multi-threaded. Currently only used for Python API.
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-10Data previews: add utils to generate/clear previews.Bastien Montagne
Not much to add, you can now clear previews from current .blend file, or a set of non-opened files. Likewise, you can generate previews (for mat/tex, objects, groups, scenes, ...).