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
2013-12-17'Transform' Python Function for armature, curve and lattice.Campbell Barton
patch by Paolo Acampora with some edits.
2013-12-17Fix bplayer broken in own rB51f5c994e9f0.Bastien Montagne
2013-12-17Fix T37103: Keyframing custom properties issue (FCurve would not reflect ↵Bastien Montagne
Custom props type changes). Add an helper func to re-compute integer-only fcurve flags, and call it when editing custom props. Reviewed by aligorith, thanks! Summary: Proposal fix for "keyframing custom properties issue" (T37103). Reviewers: aligorith Maniphest Tasks: T37103 Differential Revision: http://developer.blender.org/D111
2013-12-17Fix for crash in toolbar tabs with only one tab definedCampbell Barton
2013-12-17Partial fix for T37604: Deadlock when stopping rendered viewport (Blender ↵IRIE Shinsuke
Internal) - Py_BEGIN_ALLOW_THREADS and Py_END_ALLOW_THREADS macros cannot be used here, because the Py_BEGIN_ALLOW_THREADS causes a crash when quitting Blender. - The low level function PyEval_ReleaseLock() is used assuming the Python library was built with multi-threads support.
2013-12-17Fix crash in freestyle vector parsing (hard to believe nobody noticed)Campbell Barton
Vectors were being assigned as an array of classes in Vec2f_ptr_from_PyObject and similar functions, rather then assigning a number to each axis.
2013-12-17Fix for obscure freestyle crash when attempting to negate INT_MINCampbell Barton
This gives undefined behavior - in my case stays the same value and crashes. Check for finite input resolves the issue.
2013-12-17Py API: use direct access to list/tuple size when type is knownCampbell Barton
2013-12-17Fix for possible NULL pointer use in brush image samplingCampbell Barton
2013-12-17UI: don't attempt to draw with the menu-key when only drawing right alignedCampbell Barton
2013-12-16Fix for out-of-bounds memcpy() when adding a materialCampbell Barton
2013-12-16UserDefaults: disable orbit around object center and region-overlapCampbell Barton
both have bad side-effects with strange behavior and viewport performance
2013-12-16UI: Tabs categories for panels (D75)Campbell Barton
- works by defining panel categories, currently restricted to the toolbar. - no panels define bl_categories yet, so no user visible changes since tabs only show when there are multiple. - panel pinning is available in rmb menu or alt+lmb.
2013-12-16Better fix for previous commitSergey Sharybin
Cache iterator might return unused keys as well. Now unused keys are being removed before cleanup and iteration.
2013-12-16Fix possible crash when cleaning cache with some ibufs removed by the memory ↵Sergey Sharybin
limit
2013-12-16Color management: use fallback mode if there're no displays/viewsSergey Sharybin
Before this it was a runtime check for number of displays/views which is rather really annoying. This simplifies code a bit and allows to do some more tricks in other patches.
2013-12-16Add optional 'frame' argument to scene.timeline_markers.new(name)Dalai Felinto
Differential Revision: http://developer.blender.org/D101
2013-12-16Motion tracking: use PROP_PIXEL for pixel RNA valuesSergey Sharybin
2013-12-16Disable region overlap in movie clip editorSergey Sharybin
Before it was giving weird behavior with timeline in MCE and track preview widgets. But there's also no much benefit of having transparent toolbox there. Requested by our motrack guru Sebastian ages ago.
2013-12-16UI: use BLF_width_to_strlen for efficient text clippingCampbell Barton
2013-12-16BLF API: Add BLF_width_to_strlen,rstrlen gives a byte offset from a string widthCampbell Barton
2013-12-16Fix T37826: Opening a new image in the image editorSergey Sharybin
Cast dimensions to size_t before multiplication. Also made add_ibuf_size survive cases when image buffer allocation failed.
2013-12-16Make compression in IMB_allocImBuf match other placesSergey Sharybin
2013-12-16Missing NULL-pointer check in BKE_image_free_anim_ibufsSergey Sharybin
2013-12-15Editmesh: skip allocating a face array for recalc-normalsCampbell Barton
2013-12-15Minor optimization for strlen and memcpy calls for reading blend filesSv. Lockal
Summary: This commit removes ~10000 strlen calls and ~100000 memcpy calls in blender (profiled with blender --background), ~10000 memcpy calls in makesdna. There is no need to create null-terminated strings for atoi, because it converts only the initial portion of the string anyway. Also it was noticed that DNA_elem_array_size and arraysize functions work only with full strings, so there is no point to calculate strlen. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: http://developer.blender.org/D105
2013-12-14correct error in recent commitCampbell Barton
2013-12-14Revert "Hide the 3D cursor in a few cases where it is unneeded (active ↵Antony Riakiotakis
object is" This reverts commit 85eaa989807268dda60408f41475216ad45888d1. Conflicts: source/blender/editors/space_view3d/view3d_draw.c
2013-12-14Curves: Skip 3dtext & 2d-curve filling when fill is set to 'None'Campbell Barton
Otherwise was impossible to have unfilled curves unless extrude was set
2013-12-14Fix bmesh compiler warning with OS X / clang.Brecht Van Lommel
2013-12-14Modeling: add optional angle limit for beauty fillCampbell Barton
Makes this tool more useful on an entire mesh by only applying beautify to planar surfaces.
2013-12-14BMesh API: optionally pass fallback to BM_edge_calc_face_angle functionsCampbell Barton
2013-12-14Code cleanup: Remove "TexFace to Material Convert", from the file menu. This ↵Thomas Dinges
was used for conversion from older 2.5x files. The do_version() code is still there and functioning though.
2013-12-14Code cleanup: Remove Blender 2.4x animation player preset, since we have the ↵Thomas Dinges
internal one.
2013-12-14Fix T37811: Delete key shortcut missing for deleting markersJoshua Leung
The keymap here used WM_keymap_verify_item(), which only allows for a single hotkey to be bound to an operator. In most cases, this really isn't justified.
2013-12-13Interface / Modifiers: Don't show cage placeholder in modifier header, if ↵Thomas Dinges
the current modifier does not support it or the cage is disabled (like Subsurf 0). This way we save some space but still avoid the jumping around while changing settings in the header itself. Thanks to Brecht for help on this. :)
2013-12-13UI: color ramp buttons were redesigned and get a button to pick the n-th ↵Geoffroy Krantz
color stop. The add, delete and (f)lip buttons now use icons, and some button locations moved. Reviewed By: brecht, dingto, billrey Differential Revision: http://developer.blender.org/D97
2013-12-13Code cleanup: float<>double promotionCampbell Barton
2013-12-13UI/RNA: added pixel and percentage units to some propertiesScott Petrovic
Reviewed By: brecht Differential Revision: http://developer.blender.org/D99
2013-12-13Curve Handle Recalculate (Ctrl+N)Campbell Barton
T37799 Patch from Simon Repp with added option to recalculate handle lengths.
2013-12-13Image cache rewrite to using generic movie cacheSergey Sharybin
Summary: Behaves very much the same as cache for Movie Clip datablock: - Image now have `MovieCache *cache` field which replaced legacy `ListBase ibufs`. This allows image datablock to easily keep of image buffers which are owned by itself. This field isn't saved to the file and getting restored on undo steps. However, cache limit is global for movies, sequences and image datablocks now. So overall cached image buffers size will not go above cache limit size in user preferences. - Image buffers which are marked as BITMAPDIRTY will never be freed from the cache. - Added utility function to iterate over image buffers saved in movie cache. - Movie cache cleanup check callback now have ImBuf argument which can be used in a condition of cleanup. - Added some utility functions which replaces legacy ibufs iterations with image cache iteration which happens from inside a lock. - Fixed `image_mem_size()` which was only counting one of the buffers if both float and byte buffer present. Additional notes: - `BKE_image_get_first_ibuf()` is rather stupid, but direct access to ibufs->first was also the same stupid idea. Would consider avoid this function is another project. - There are some places which doesn't look threadsafe, but they already were not so much threadsafe anyway before. So think not a big deal with solving this later. Finally solves infinite memory usage by image sequences! :) Reviewers: brecht, campbellbarton Reviewed By: brecht CC: sebastian_k Differential Revision: http://developer.blender.org/D95
2013-12-13Implement GPU-side ditherSergey Sharybin
Summary: Uses some magic pseudo-random which is actually a texture coordinate hashing function. TODOs: - Dither noise is the same for all the frames. - It's different from Floyd's dither we've been using before. - Currently CPU and GPU dithering used different implementation. Ideally we need to use the same dither in CPU. Reviewers: brecht Reviewed By: brecht Differential Revision: http://developer.blender.org/D58
2013-12-13minor style and comment fix.Antony Riakiotakis
2013-12-13Hide the 3D cursor in a few cases where it is unneeded (active object isAntony Riakiotakis
in sculpt mode or image paint mode and no clone tool is active)
2013-12-13Fix T37572: text editor scrolling not working well with Mac trackpad panning.Brecht Van Lommel
The trackpad would give isolated mouse pan events with a distance smaller than one line or character. For other 2D views this is all accumulated in floats, but in the text editor it only keeps track of integers, and the small mouse pan events got lost due to rounding. Now it keeps track of sub-line or sub-character scroll offsets to avoid this.
2013-12-12UI: remove text margin when a slider is aligned to another buttonCampbell Barton
Paint sliders had too much space on right (aligned with pressure icons)
2013-12-12Radial control operator support for pixel propertiesAntony Riakiotakis
2013-12-12RNA: Add pixels property typeScott Petrovic
2013-12-12improvements and simplification to gravity code:Antony Riakiotakis
* world to object matrix is calculated for view vector as well, reuse that. * if no orientation exists use world negative axis instead of object negative axis for gravity. there's also the issue of mirroring, it may be wise to invert the gravity effect there but it may be better to have artist feedback on that.
2013-12-12Sculpt mode Gravity feature from GSOC 2010 by Jason Wilkins.Antony Riakiotakis
Reviewers: sergey, brecht, campbellbarton, jwilkins Differential Revision: http://developer.blender.org/D89