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-10-21Merge branch 'master' into UI-graphical-redesignUI-graphical-redesignJulian Eisel
Conflicts: source/blender/blenkernel/BKE_blender.h source/blender/blenloader/intern/versioning_270.c source/blender/editors/interface/interface.c source/blender/editors/interface/interface_handlers.c source/blender/editors/interface/interface_intern.h source/blender/editors/interface/resources.c
2015-10-20Fix T46544: Can't unpack generated imageCampbell Barton
2015-10-20RNA: Change behavior of Image.save()Campbell Barton
Previously it would save packed file(s), which would ignore the image.filepath, making it impossible to set the destination. Add image.packed_files[...].save() so you can save packed files if its needed.
2015-10-20Fix T46496: GL Render fails w/ Anti-AliasingCampbell Barton
Needed to check if scaled-multisample-blit is supported.
2015-10-20First step to handle missing libs/datablocks when reading a file.Bastien Montagne
Idea is, instead of ignoring completely missing linked datablocks, to create void placeholders for them. That way, you can work on your file, save it, and find again your missing data once lib becomes available again. Or you can edit missing lib's path (in Outliner), save and reload the file, and you are done. Also, Outliner now shows broken libraries (and placeholders) with a 'broken lib' icon. Future plans are also to be able to relocate missing libs and reload them at runtime. Code notes: - Placeholder ID is just a regular datablock of same type as expected linked one, with 'default' data, and a LIB_MISSING bitflag set. - To allow creation of such datablocks, creation of datablocks in BKE was split in two step: + Allocation of memory itself. + Setting of all internal data to default values. See also the design task (T43351). Reviewed by @campbellbarton, thanks a bunch! Differential Revision: https://developer.blender.org/D1394
2015-10-20BLI: add new 'memory_utils' module with func checking a whole memory chunk ↵Bastien Montagne
is filled of zero, and an helper to ensure all memory of a given structure passed a given member is filled of zero.
2015-10-20Add operator to close a windowCampbell Barton
Useful for Python scripts, which could duplicate but not close windows.
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-19Fix T46534: Crash loading corrupt HDR'sCampbell Barton
2015-10-19Cleanup: use UNLIKELY for checking corrupt HDR'sCampbell Barton
2015-10-19Fix T46529: Unwrap UV w/ use-subsurf failsCampbell Barton
Regression since moving to looptri.
2015-10-19GPU: check for blit support, using MSAA FBO'sCampbell Barton
Used for reading off-screen buffers, possible cause of failure for drivers that don't support it.
2015-10-18Fix T46531: Cannot use % in filenames.Bastien Montagne
Same case as with space char really, one should not use those special chars in filenames, but they are globally supported by all current FS/OS, so no real reason to enforce that behvior on users here. To be backported to 'a' release.
2015-10-18BLI_task: fix bad freeing of current task_thread in case POSIX thread ↵Bastien Montagne
creation fails. Trying to MEM_free a single item of a whole MEM_calloc'ated array, tsst... Luckily looks like POSIX thread creation does not fail often! :P
2015-10-18Fix T46520: mathutils.bvhtree crashes with distance input.Bastien Montagne
Should be backported to 'a' release.
2015-10-18Fix T46524: Use Alpha (Straight/Premultiply) option missing in 2.76 for DDS ↵Bastien Montagne
files. All optional image format are not #define'd in submodules like DDS read/write code. This means values of `eImbTypes` would not always be the same in all contexts, yuck! This is a regression and should be backported to 'a' release.
2015-10-17Fix T46429: Movie clip is deformed by resolution multiplier when offset is ↵Bastien Montagne
added in sequence editor.
2015-10-17correct own error in rectangle clampingCampbell Barton
2015-10-17IMB_thumbs: add missing error checkCampbell Barton
2015-10-17Cleanup: warningsCampbell Barton
- remove NULL checks for args already set as ATTR_NONNULL. - double promotion.
2015-10-17Cleanup: BLI_path commentsCampbell Barton
2015-10-17Cleanup: remove unused BLI_string_to_utf8Campbell Barton
2015-10-16Fix broken CD_NORMAL interpolation callback (would generate non-unit vectors).Bastien Montagne
Even if the weights are normalized, the weighted sum of normalized vectors usually does **not** give a normalized vector (unless all source vectors are aligned). This probably was not a big issue in most cases, since we usually interpolate similar vectors here - but still!
2015-10-16Fix T46508: data_transfer of normals fails in case objects are transformed.Bastien Montagne
The final stage of the process (copying/interpolating new dst cddata from src cddata) was simply broken in normal case, where we need to convert from source to destination object space. This patch is a bit verbose, but I cannot see how to avoid it really. To think this code is in master since over 6 months and it only gets reported now... :/
2015-10-16Mesh remapping: fix loop 'best matching normals' not using transform space.Bastien Montagne
Also, cleanup, reduce declarations of tmp_co/_no...
2015-10-16Cleanup: styleCampbell Barton
Also use gcc style file:line: syntax for errors.
2015-10-16Fix T46510: VSE View-all crops out imageCampbell Barton
2015-10-16Cleanup: use bools for v2d, minor ws editsCampbell Barton
2015-10-16Fix popup menu glitch, scrolling at high dpiCampbell Barton
Popups were clamped be screen-margin, then clipped by UI_POPUP_MENU_TOP, causing regular popups not to have enough room & add scroll buttons.
2015-10-16UI: expose UI_POPUP_MENU_TOP for use elsewhere.Campbell Barton
2015-10-16BLI_rect: add BLI_rctf_clampCampbell Barton
Clamp one rect within another. This is done inline in the UI code, which gets verbose.
2015-10-16Cleanup: redundant struct qualifiersCampbell Barton
2015-10-16error in last commitCampbell Barton
2015-10-16Fix for missing id_lib_extern, assigning ID'sCampbell Barton
2015-10-16Fix T46502: Linked dupli-group lost on reloadCampbell Barton
2015-10-16Revert part of rB4d9345479aa86f61, and cleanup a bit.Bastien Montagne
'thumbnail_size' is now used in all cases, it controlls column width in other viewmodes of filebrowser. We cannot (easily) rename that DNA member, but I also renamed RNA property, and fixed its tooltip...
2015-10-16UI: only show thumbnail size when its enabledCampbell Barton
Also make enum identifiers less cryptic.
2015-10-16Cleanup: simplify BLI_stringdec useCampbell Barton
2015-10-16Fix T46503: Snap scale fails using corner pivotCampbell Barton
2015-10-15VBO implementation for GLSL subsurfed meshes (non-mapped case)Antony Riakiotakis
As with cdderivedmesh, performance here is still CPU-limited if material needs tangents/UVs/vcolors. Draw calls have much less overhead though. Also, as with derivedmesh, kept an exception for old drawing for NVIDIA +OSX+VBO off or setDrawOptions callback not being NULL. setDrawOptions should be ommitable and fully VBOfialbe (?) in the future, usually those just check for hidden flag of poly or similar.
2015-10-15Fix crash pressing +/- in file-selectorCampbell Barton
Filenames over 128 chars would crash. Move BLI_newname into file_ops, this was only used in one place and isn't all that re-usable. Also remove special behavior for 4 digits.
2015-10-15Fix crash w/ PlayAnim & long filenamesCampbell Barton
Paths >128 chars could crash. Replace BLI_newname with direct BLI_stringenc/dec use which makes more sense in this case.
2015-10-15Knife tool: generalize angle snapping codeCampbell Barton
Replace hard-coded snap angles with function that allows arbitrary snapping increments. Currently no user visible change.
2015-10-15BLI_math: isect_ray_plane_v3 now takes 4d planeCampbell Barton
Was taking a triangle and doing ray-tri intersect.
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-15Cleanup: BKE_idcode: idcode (types) are short, not int...Bastien Montagne
Also, use 'idcode' var name, as in many other places in Blender.
2015-10-15Fix error w/ printing knife header angle-snappingCampbell Barton
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-15Error in last commitCampbell Barton