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
2014-06-23T39690: Modifications to Blender's 'temp dir' system.Bastien Montagne
Current temporary data of Blender suffers one major issue - default 'temp' dir on Windows is never automatically cleaned up, and can end being quite big when used by Blender, especially when we have to store per-process data (using getpid() in file names). To address this, this patch: * Divides tempdir paths in two, one for 'base' temp dir (the same as previous unique tempdir path), the other is a mkdtemp-generated sub-dir, specific to each Blender instance. * Only uses base tempdir when we need some shallow persistance accross Blender sessions - and we always reuse the same filename (quit.blend...) or generate small file (crash reports...). * Uses temp sub-dir for heavy files like pointcache or renderEXRs (Save Buffer option). * Erases temp sub-dir on quit or crash. To get this working it also adds a working 'recursive delete' to BLI_delete() under Windows. Note that, as in current code, the 'recover render result' hack-feature that was possible with SaveBuffer option is still removed. A real renderresult cache feature will be added soon, though. Reviewers: campbellbarton, brecht, sergey Reviewed By: campbellbarton, sergey CC: sergey Differential Revision: https://developer.blender.org/D531
2014-06-20Fix release notes link in splash.Bastien Montagne
Auto-generate this link from Blender version, as done for e.g.py API link. This commit should be backported to 2.71 branch.
2014-06-18Resolve memory leask with reports on initializationCampbell Barton
2014-06-17Fix T40639: operators ignore win.cursor_warp()Campbell Barton
2014-06-15Code cleanup: commentsCampbell Barton
2014-06-14UI: Add support for popups to refresh their layput (D578)Campbell Barton
This is needed for popups to chance state once activated, currently it makes use of operators `check` callback, after values are modified, as the file selector does already.
2014-06-13Code cleanup: use const for mouse location argCampbell Barton
2014-06-13Detect version suffix based on release cycle and version charSergey Sharybin
Should make it less error-prone for release tagging/ahoy.
2014-06-12Splash: enable rc labelCampbell Barton
2014-06-12Fix crash running in background modeCampbell Barton
2014-06-09Fix T40549: box selection starting point in the file requester.Bastien Montagne
We need to 'reset' mouse coordinates to the one it was when the gesture handling started, else org coords are where the tweak event is created, which gives a noticeable gap (several pixels) and unwanted behavior like the one retported about file box selection.
2014-06-07Replace open() with BLI_openCampbell Barton
2014-06-03Change to key modifier should trigger re-evaluation of drag-and-dropCampbell Barton
This change is part of a fix for T40435, but will postpone for now. Original patch by Sergey Sharybin
2014-06-03Code cleanup: use typedefs for ui handler functionsCampbell Barton
2014-06-02Disable key-modifier detection when activating windowsCampbell Barton
Causes issues on X11 for some users
2014-05-26Workaround T40317: Ghost/Win32 keys sticking for new windowsCampbell Barton
Ghost win32 ignores key-up events for newly activated windows. for now just disable code for win32 to initialize modifiers for new windows.
2014-05-20Fix T34255: Modifier keys ignored when activating windowsCampbell Barton
2014-05-16Fix T40202: File selector operators not reported in info viewCampbell Barton
2014-05-14Code cleanup: doxy commentsCampbell Barton
2014-05-09Code cleanup: styleCampbell Barton
2014-05-09Bake API: renaming WM_JOB_RENDER_BAKE to WM_JOB_OBJECT_BAKE and use it ↵Dalai Felinto
consistently Note: that doesnt change much. It definitively doesnt change the random crash OSX is experiencing sometimes.
2014-05-08Fix for crash when userprefs fails to read.Campbell Barton
2014-05-07playanim: check for escape key while loading imagesCampbell Barton
(todo from 2.4x)
2014-05-03Bake API - bpy.ops.object.bake()Dalai Felinto
New operator that can calls a bake function to the current render engine when available. This commit provides no feature for the users, but allows external engines to be accessed by the operator and be integrated with the baking api. The API itself is simple. Blender sends a populated array of BakePixels to the renderer, and gets back an array of floats with the result. The Blender Internal (and multires) system is still running independent, but we eventually will pipe it through the API as well. Cycles baking will come next as a separated commit Python Operator: ---------------- The operator can be called with some arguments, or a user interface can be created for it. In that case the arguments can be ommited and the interface can expose the settings from bpy.context.scene.render.bake bpy.ops.object.bake(type='COMBINED', filepath="", width=512, height=512, margin=16, use_selected_to_active=False, cage_extrusion=0, cage="", normal_space='TANGENT', normal_r='POS_X', normal_g='POS_Y', normal_b='POS_Z', save_mode='INTERNAL', use_clear=False, use_split_materials=False, use_automatic_name=False) Note: external save mode is currently disabled. Supported Features: ------------------ * Margin - Baked result is extended this many pixels beyond the border of each UV "island," to soften seams in the texture. * Selected to Active - bake shading on the surface of selected object to the active object. The rays are cast from the lowpoly object inwards towards the highpoly object. If the highpoly object is not entirely involved by the lowpoly object, you can tweak the rays start point with Cage Extrusion. For even more control of the cage you can use a Cage object. * Cage Extrusion - distance to use for the inward ray cast when using selected to active * Custom Cage - object to use as cage (instead of the lowpoly object). * Normal swizzle - change the axis that gets mapped to RGB * Normal space - save as tangent or object normal spaces Supported Passes: ----------------- Any pass that is supported by Blender renderlayer system. Though it's up to the external engine to provide a valid enum with its supported passes. Normal passes get a special treatment since we post-process them to converted and "swizzled" Development Notes for External Engines: --------------------------------------- (read them in bake_api.c) * For a complete implementation example look at the Cycles Bake commit (next). Review: D421 Reviewed by: Campbell Barton, Brecht van Lommel, Sergey Sharybin, Thomas Dinge Normal map pipeline "consulting" by Andy Davies (metalliandy) Original design by Brecht van Lommel. The entire commit history can be found on the branch: bake-cycles
2014-05-01Code cleanup: remove redundant filename copy & simplify splashCampbell Barton
2014-04-30Fix T39974: Popups lead to crash if 'UNDO' isn't setCampbell Barton
This isn't supported, raise an error instead
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Code cleanup: remove redundant CTX callsCampbell Barton
2014-04-29Remove link from Link/Append UI, since we have 2 menu itemsCampbell Barton
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (windowmanager)Campbell Barton
2014-04-25Fix T38924: wm.link_append() could fail to appendCampbell Barton
When the library path was changed by BLI_cleanup_path appending would fail.
2014-04-21OSX: always create a window in normal state, not fullscreen or iconized …Jens Verwiebe
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-03Add load_ui to WM_OT_read_homefileCampbell Barton
Useful for implementing templates. Patch D423 by Gaia Clary
2014-04-03WM: expose file loading operator property init functionsCampbell Barton
2014-04-03Code cleanup: use BKE_BIT_TEST_SET to set flagsCampbell Barton
2014-04-02Rename "BLI_cpu.h" to "BLI_system.h" and add to it BLI_getpid() helper.Bastien Montagne
There is not much sense to have a whole BLI file just to check SSE2 on CPUs... So idea is to rename it to more generic "BLI_system", and add to it more system-related utils, like e.g. an include helper for getpid(), which allows to hide unix/windows internals from rest of the code... Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D439
2014-04-02UI: support for dragging popups title areaCampbell Barton
2014-04-02Code cleanup: avoid redundant lookups for subwindowsCampbell Barton
2014-04-01Fix T39378: Revert, Recover Last Session and Load Factory Settings have no ↵Grigory Revzin
prompt. Now they do, to make it harder to accidentally press them and lose work. Reviewed By: brecht, carter2422 Differential Revision: https://developer.blender.org/D440
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-31Code cleanup: use boolCampbell Barton
2014-03-28Code cleanup: use sqrtf when input and output are floatCampbell Barton
2014-03-25Add a slight shadow to the radial operator text. It helps when brushAntony Riakiotakis
color is close to the cursor color.
2014-03-25Code cleanup:Antony Riakiotakis
* Separate some common code for sculpt raycasting * Cleanup to radial operator commit
2014-03-25Code cleanup: ifdef debug only checks and simplify manifold testCampbell Barton
2014-03-25Improvements to radial control operator:Antony Riakiotakis
* Factor values get a minimum circle too, which denotes the maximum value. This makes it easy to set the maximum value while previously maximum was at center, much more difficult to set exactly. * Added text indication of value at center of the widget.
2014-03-19Fix T39260: "Redo Last" operator popup shows macro operator labels twice.Lukas Tönne
The popup was showing an explicit uiItemL as well as using the UI_LAYOUT_OP_SHOW_TITLE flag. Both do the exact same thing.
2014-03-19Code cleanup: unreachable break/returnCampbell Barton