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-09-08Fix T46006: Issue with Equirectangular image rendering in Standalone CyclesSergey Sharybin
Issue was caused by wrong viewplane used for standalone camera.
2015-09-08Cycles: Add missing initialization of fov for prev/next framesSergey Sharybin
2015-09-08Cycles: Correction to integrator's transparent shadowsSergey Sharybin
It was possible that deleting transparent BSDF from shader wouldn't disable transparent shadows in integrator when doing viewport render.
2015-09-08Cycles: Update TODO, camera in volume is supported alreadySergey Sharybin
2015-09-08Fix T46045: Missing viewport update when adding transparent shader to materialSergey Sharybin
2015-09-07Fix T46040: Bake action cleans existing keyframesCampbell Barton
2015-09-07Fix beautiful textbook case of string overflow in `BLI_testextensie_glob`...Bastien Montagne
2015-09-07Fix T46029. Center ngon in bevel got no attributes or interpolation data.Howard Trickey
2015-09-07Fix T46034: OpenCL kernel compilation error in latest buildbotSergey Sharybin
Simply expanded expression, so no float4->float3 conversion happens.
2015-09-07Doc: PyAPI docs, quiet warnings, fix URL'sCampbell Barton
2015-09-07Fix T46032: Crash w/ file-browser previewCampbell Barton
2015-09-07Doc: update Python 'gpu' module referenceCampbell Barton
- add missing uniforms. - add uniform types. - link to RNA equivalent. - remove 'value' from uniforms (they were wrong, better use module members anyway). - various corrections & edits. Fixes T45505
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-04Cycles: Fix for wrong optimization of bump nodeSergey Sharybin
It can't be simply removed in cases when it's connected to input which is different from Normal. This is because the input wouldn't be connected to default Normal geometry input, possibly breaking shading setup. The fix is not really ideal, but should work at least. This fixes skin having too much glossy reflection in the file from T46013.
2015-09-04Cycles: Fix wrong check for zero-sized trianglesSergey Sharybin
Initial idea was to optimize calculation a bit by skipping calculation of actual triangle edges and use vector from ray origin to triangles. In practice this optimization didn't quite work in cases when origin point is too close to the triangle. Let's do 2.76 with a bit more complicated calculation, still looking into exact reasons why watertight intersections fails in certain cases, but actual fix might bit be ready so soon. This fixes wrong eyes on the lady from T46013.
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-04Fix T45019: Cycles wrong render of motion blur meshSergey Sharybin
The issue was caused by wrong detection whether number of verticies changed or not. Basically, it wasn't working correct in cases when number of verticies is increasing compared to the current frame.
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-03Cleanup: minor RST editsCampbell Barton
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 T45937: Cycles hair not rendered if children count set to zeroSergey Sharybin
2015-09-03Cycles: Fix missing packed images with newer versions of OSLSergey Sharybin
This isn't really complete fix, complete fix would require calculating derivatives via OIIO API, but supporting this will either end up with some code duplication or will require some non really safe changes at this release cycle.
2015-09-03Fix T45946: Cycles texture interpolation bugSergey Sharybin
Coordinate clamping was done in the wrong order.
2015-09-03BGE docs: resolution & fullscreen changes don't work in the embedded playerSybren A. Stüvel
The documentation for bge.render.{setWindowSize,setFullScreen,getFullScreen} did not mention that those functions are no-ops when using the Blender- embedded player.
2015-09-03PyAPI: tweak to ensure_ext don't lower entire pathCampbell Barton
2015-09-03Fix: Made bpy.path.ensure_ext compatible with compound extensions.Sybren A. Stüvel
Extensions such as ".tar.gz" are now also supported. Before this patch, ensure_ext('demo.tar.gz', '.tar.gz') would return 'demo.tar.tar.gz'. This results in issues with the `ExportHelper` mix-in class; clicking an existing file in the file dialogue warns about overwriting it (highlighting the input box in red), but then saves to a different file. Also added a unit test for the new behaviour. Reviewers: mont29, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1498
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-03Cycles: Fix nondeterministic pass ordering when using bakerSergey Sharybin
2015-09-03Cycles: Fix for uninitialized closure dataSergey Sharybin
This might confuse closure merger. Spotted by Campbell Barton, thanks!
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