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
path: root/source
AgeCommit message (Collapse)Author
2015-09-07Cleanup: gpu constants weren't so clearly arrangedCampbell Barton
Also reminder to update docs w/ the API.
2015-09-06Fix viewport camera dof object distanceCampbell Barton
Also use simpler method to calculate the depth.
2015-09-06Add icon for incremental grid snappingJulian Eisel
As decided in D910, we use a new icon for incremental grid snapping and use its old one for absolute grid snapping. This also touches the library_data_broken icon .dat files, seems some changes on its .svg entry landed in upstream without updating the other icon files (already noticed this when committing icon for auto-offset, but removed it from commit - leaving it in now to avoid further confusion) Icon by @plyczkowski (made a tiny edit as it looked a bit blurry in 16x16). Thx!
2015-09-05Fix T45944: Ctrl+Wheel to cycle values failes in toolshelfJulian Eisel
Now, ctrl+wheel for cycling tabs is passed to hovered button if it supports cycling values (RNA menus, color/row/number/slider buttons, list boxes) This might feel a bit glitchy if ctrl+wheel is used to cycle tabs and in newly opened tab, a button with cycling support is under the mouse, which will get mouse input from this point on instead of region. Think this is still better than old behavior.
2015-09-05Depsgraph: Don't use legacy function when building without legacy depsgraphSergey Sharybin
2015-09-05Fix T45938: Ocean modifier animation not working with NLA action-strip (old ↵Joshua Leung
depsgraph only) When a modifier was animated by a NLA strip, this animation was not working when using the old depsgraph. This was because the code which checks if a NLA strip affects any modifiers was missing - specifically, it was originally left out as it was thought that it was unlikely that many users would need this, but adding in those checks would have a (slight) negative effect files where there are heaps of NLA strips but modifiers animated this way were absent. The new depsgraph however doesn't suffer from this problem, as these sorts of checks need ot be built into the graph-building stage for everything to work, so these links had already been added.
2015-09-05Math Lib: isect_plane_*_v3 avoid negationCampbell Barton
Unmeasurable speedup for plane intersection.
2015-09-05Math Lib: simplify isect_plane_plane_v3Campbell Barton
Unlike the 3 plane method, the 2 planes squared cross-product _is_ the determinant.
2015-09-04Fix T46015: normals_split_custom_set_from_vertices doesn't work with zero ↵Bastien Montagne
vectors This was simply broken for vertex case (indexing loop normals with vert indices...). Turns out to be rather verbose to replace on-the-fly zero normals by default ones correctly, and do not want to make a full copy of the given custom normals array, so now this one is editied in place (replacing zero vectors by correct default normals). Don't think this could be a serious issue anyway.
2015-09-04Fix T46010: Bone offset between Rest Pose and Edit mode.Bastien Montagne
That one was hairy... To summarize: * We were setting Bone.head/tail (aka **local** rest location of bone) from EditBone data, using **EditBone's parent computed armature space**. * We use those local head/tail to define Bone's restpose (in `BKE_armature_where_is_bone()`), using **Bone's parent armature space** (aka parent's arm_mat). * Because of bone's roll nightmare, the two above parent's matrices will often not be the same. In an ideal world, this should not affect locations (head/tail), but in real world of float it does - noticeably, in some extreme cases. So! This commit cleans up things a bit (`fix_bonelist_roll()` was already doing much more than just fixing roll mess, has been renamed to `armature_finalize_restpose()`), and ensures we do use (final!) parent's arm_mat local space to compute children's local head/tail as well. This allows us to avoid too much imprecision here. Checked the patch also with a complete Victor's rig from Gooseberry, seems to have no nasty side effects - fingers crossed!
2015-09-04Cleanup: Better to assert over bad condition (which shall never happen ↵Bastien Montagne
anyway), than just return with un-initialized mat...
2015-09-04Fix for isect_tri_tri_epsilon_v3 w/ small facesCampbell Barton
tris with ~1e-05 edge lengths would fail
2015-09-04Math Lib: Use plane intersect from graphics-gemsCampbell Barton
2015-09-04Math Lib: avoid sqrt w/ triangle intersectionCampbell Barton
2015-09-04Correct own error in line_point_factorCampbell Barton
Passing zero epsilon allowed divide by zero.
2015-09-04Armature: Cheap edit-to-object mode speedup.Bastien Montagne
`fix_bonelist_roll()` is already recursive, and was calling recursive `BKE_armature_where_is_bone()` twice! Changed `BKE_armature_where_is_bone()` to controll whether we recurse over children or not. With full Victor's rig, we gain 16% in `ED_armature_from_edit()` (from 31ms to 26ms). With a dummy test-case 100 bones chain, we gain 80% in `ED_armature_from_edit()` (from 1.25ms to 0.25ms). Not crucial, but still worth it. ;)
2015-09-04Partial revert of warning cleanupCampbell Barton
These warnings are false-positives
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-03View-Selected: use custom bones boundboxCampbell Barton
Support using custom pose-bone transform and object when calculating view bounds.
2015-09-03Small tri intersect fails when not normalizedCampbell Barton
Logic was ok, but would run into precision issues.
2015-09-03Check for no-op edge separates to quiet asserts when inset individual.Howard Trickey
This causes no change in behavior, since code was alreadying doing a no-op in bmesh_edge_separate if the edge is a boundary. But it tripped an assert, annoying in debug builds. We want to leave assert in bmesh_edge_separate in case callers expect there to be separate loops after this always. So putting test in caller. (Same worry about bmesh_urmv_loop? I checked callers and they appear OK to me - they deal with the no-op return.)
2015-09-03Fix T45984: Setting custom normals properly requires multiple calls to ↵Bastien Montagne
normals_split_custom_set() The detection of needed sharp edges (based on given loop normals) would not fully work on first run in case we started with a complete smooth cyclic loop fan (edge between first and last loop of the fan would not get checked).
2015-09-03ImBuf: Fix crash generating preview for really huge imageSergey Sharybin
In fact, any user of IMB_scalefastImBuf() is now robust against working with really hires images.
2015-09-03Compositor: Support changing distortion models in movie distortion nodeSergey Sharybin
Previously only polynomial model worked correct. now changing it to divisions will work nicely as well.
2015-09-03Fix T45959: DistanceKey preview used wrong colorsCampbell Barton
Same issue as recent fix in ChannelMatte
2015-09-02Animplayer passed -a, then warned its unknownCampbell Barton
Also modify a copy of argv
2015-09-02Fix T45979: animplayer crashes w/ DND and audioCampbell Barton
Issues re-initializing audaspace
2015-09-02Fix second part of T45987: Node preview was still using wrong color spaceSergey Sharybin
2015-09-02Fix T45995: Auto-set preview range sets superfluous end key.Bastien Montagne
get_keyframe_extents() would add an extra frame in case of mono-key fcurves in selected set... Now do the 'not same start/end frames' check later, and also use floor/ceil instead of round (we want to start at frame 3 if first key is at frame 3.8, reversed-same goes for end frame).
2015-09-02CMake: use generator expressionsCampbell Barton
2015-09-02Add missing spin-lock to IMB_makeSingleUserCampbell Barton
2015-09-02Fix T45991: Transfer Weight tool UI is inconsistent and crashes blender.Bastien Montagne
Since data transfer when called from this tool has reversed behavior (it transfers **towards** active object, as previous tool), we have to also reverse source/destination layers selection options. Also fix 'reverse' option being saved, otherwise calling regular operator after 'transfer weights' would stay in reverse mode, ugly!
2015-09-02Cleanup: styleCampbell Barton
2015-09-02b5287b1 removed important CCG_key_top_level callCampbell Barton
Caused subsurf to crash w/o OSD
2015-09-02Enable guarded-alloc when --debug-all is passedCampbell Barton
2015-09-02Correct help message for debug optionsCampbell Barton
2015-09-02Fix snapping edit-gpencil to edit-meshCampbell Barton
Reported in T45978 Was checking mesh selection state.
2015-09-01RNA PreviewImage: add float pixels accessors.Bastien Montagne
Raw int pixels can be nice in some cases (much less memory used), but converting to/from float values (as e.g. expected by/from Image) is not simple in py, error prone and rather slow.
2015-09-01Avoid reupdating pbvh data in upload functions, these should have beenAntony Riakiotakis
taken care of in draw functions. Those iterate the whole PBVH tree so better avoid doing them, twice or thrice.
2015-09-01Fix T45978: Ruler ignores new edit-mesh dataCampbell Barton
2015-09-01Fix T45974: Bones fail to snap to vertsCampbell Barton
Was an issue with individual-origins + snap
2015-09-01Fix uninitialized normal var w/ objects snappingCampbell Barton
2015-09-01Assert vec_roll_to_mat3_normalized's gets a normalized vectorCampbell Barton
2015-09-01Fix projection painting normal culling operating on individualAntony Riakiotakis
triangles. This made the normal-related artifacts of projection painting much more apparent. Now we do culling based on whole polygons. Pure backface culling still uses individual triangles.
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-01Depsgraph: Fix compilation error with legacy depsgraph disabledSergey Sharybin
Reported by Campbell on IRC, partial patch by him as well.
2015-09-01Fix T45825: Macro redo disable options incorrectlyCampbell Barton
A non repeatable operator would disable editing options for all operators after it.
2015-09-01Fix T45939: Crash w/ BMesh.*.sort()Campbell Barton
2015-09-01BMesh: add asserts for BMesh sort ghash lookupsCampbell Barton