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-15Cleanup: hide clnors warning prints behind G.debug, those can get annoyingly ↵Bastien Montagne
verbose...
2015-09-14Fix T46114: paint face-mask hide clears sharp flagCampbell Barton
2015-09-14Fix T46099: snapping failed on objects with some NULL-dimension in their bbox.Bastien Montagne
Added a helper that ensures a bbox has some non-NULL dimension along all its axes. Also, fixed some (rather unlikely) NULL dereference cases (though it should not in this context, `BKE_object_boundbox_get()` can return NULL).
2015-09-13Cleanup: spellingCampbell Barton
2015-09-13Fix T46089: Text from Effect Strip is invisible in VSE Preview.Bastien Montagne
Deviding two ints together never yields a float... Also, logic of various proxies size corrections was quite broken. Now we should always get the same (relative) size of text whatever proxy setting/render scale is chosen.
2015-09-11Fix T46058: Modifiers on curve shows different results on OpenGL and cycles ↵Sergey Sharybin
render Not really ideal fix, but should make Cycles behave same as BI. For some details please refer to inline comment.
2015-09-10Fix T46067: ShrinkWrap + Threaded depsgraph crashCampbell Barton
Note that allocating DM arrays from an editmesh is currently not threadsafe, however even if were resolved, its more efficient to avoid having to do it in the first place.
2015-09-10Fix incorrect textbox use w/ scaled fontsCampbell Barton
2015-09-09Fix crash viewing passes w/ scopesCampbell Barton
Scopes assumed all passes were RGBA, but some passes have 1-3 channels.
2015-09-09Fix T45839 : Regression - Multi-layer image issues when using non-standard namesDalai Felinto
This was introduced in the fix for T44336 . The code is now what it should have been in the first place at the time of multiview commit. ImageUser->passtype is being removed in favour of bringing ImageUser->pass back. Reviewers: sergey Differential Revision: https://developer.blender.org/D1504
2015-09-09Formatting fix.Sybren A. Stüvel
Reviewed by: Severin
2015-09-09Fix: VSE text strip size was wrong when preview render size != 100%Sybren A. Stüvel
Reviewed by: sergei
2015-09-09Assert CustomData_from_bmeshpoly is used correctlyCampbell Barton
Follow up to last commit, since bugs here aren't so obvious.
2015-09-09Fix T45733: Crash w/ VColor + BlenderInternalCampbell Barton
Tessface CustomData layers were added multiple times when tangents were used. This made BI crash accessing layers missing elsewhere.
2015-09-08Revert "Fix T45191 Speed strip behaviour not easy to predict."Campbell Barton
This reverts commit 0e83b0854fc66af16dd187759c031e530ecd4c05. Fixes T46038
2015-09-06Fix viewport camera dof object distanceCampbell Barton
Also use simpler method to calculate the depth.
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-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-04Cleanup: Better to assert over bad condition (which shall never happen ↵Bastien Montagne
anyway), than just return with un-initialized mat...
2015-09-04Math Lib: Use plane intersect from graphics-gemsCampbell Barton
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-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-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-02b5287b1 removed important CCG_key_top_level callCampbell Barton
Caused subsurf to crash w/o OSD
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-01Assert vec_roll_to_mat3_normalized's gets a normalized vectorCampbell Barton
2015-09-01Depsgraph: Fix compilation error with legacy depsgraph disabledSergey Sharybin
Reported by Campbell on IRC, partial patch by him as well.
2015-08-31Fix T45258, impossible to select brush when removing it from 2dAntony Riakiotakis
painting. Also system added a brush every time it found no paint brush in the system which is not what we would want. Solution: * Brush panel stays visible always, regardless of whether there is a brush or not. * We search for first available brush when we find no brush in paint struct instead of always generating a new one. * Generating and searching for a brush take a mode argument now. Needed some refactoring to users of BKE_paint_init as well. * Did some style cleanups for paint mode enums. Patch is big but it's mostly argument refactoring.
2015-08-29Fix missing 'case idx' line in (debug-only & disabled) valgrind-friendly ↵Bastien Montagne
BKE_main_free() code.
2015-08-28Partial fix of T44881: Fix for missing particles update when changing seedSergey Sharybin
Was only visible with new dependency graph. Changing emit_from still doesn't behave fully reliably tho, that needs some closer investigation.
2015-08-28Fix T45929: OpenSubdiv was doing extra object recalc tagsSergey Sharybin
2015-08-28Fix T45930 weights not appearing in editmode when show weights optionAntony Riakiotakis
was enabled. Caused by an -unneeded now- fix for opensubdiv. Code caused the vertex colors to be uninitialized. Thanks to Sergey for confirming that initial issue is no longer a problem.
2015-08-28Fix T45933: Can't select scaled camera in camera viewCampbell Barton
2015-08-28Sequence/Scene render fixesCampbell Barton
- wasn't checking subframe to see if the scene needed to be re-evaluated. - unneeded int/float conversion storing original frame. - moved cleanup block into one place to avoid confusion.
2015-08-27Support subframe evaluation for scene stripsCampbell Barton
Useful when used with the speed effect.
2015-08-27Make .blend file thumbnail reading simpler and more coherent, read/store ↵Bastien Montagne
them when reading in background mode. Primary goal of this commit is to fix an annoying issue - when processing and saving .blend files in background mode you lose their thumbnails, since it can only be generated with an OpenGL context. Solution to that is to read .blend thumbnail while reading .blend file (only done in background mode currently), and store it in Main struct. Also, this lead to removing .blend file reading code from thumb_blend (no need to have doublons). We now have a small interface in regular reading code area, which keeps it reasonbaly light by only reading/parsing header info, and first few BHead blocks. This makes code reading .blend thumbnail about 3 to 4 times slower than previous highly specialized one in blend_thumb.c, but overall thumbnail generation of a big .blend files folder only grows of about 1%, think we can bare with it. Finally, since thumbnail is now optionally stored in Main struct, it makes it easy to allow user to define their own custom one (instead of auto-generated one). RNA API for this was not added though, accessing that kind of .blend meta-data has to be rethought a bit on a bigger level first. Reviewers: sergey, campbellbarton Subscribers: Severin, psy-fi Differential Revision: https://developer.blender.org/D1469
2015-08-27Fix T45702: Editing smoke while viewport render and blender bugSergey Sharybin
Issue was caused by blender internal accessing data from DNA during rendering. There's no simple solution to make stuff thread safe, so for now simply restart rendering on frame update.
2015-08-27OpenSubdiv: Fix crash toggling edit mode with new depsgraphSergey Sharybin
2015-08-27Use correct size for BVH insertionCampbell Barton
2015-08-26Fix T45912: Opensubdiv meshes don't properly center when using <numpad .>Sergey Sharybin
2015-08-26Fix T44945: Blender crashes when using multiple domains and multiple flow ↵Sergey Sharybin
objects with subframes This is more like a workaround to prevent obvious cases fail, but in theory if some other area will start updating object for subframes blender will crash again. Perhaps proper way to solve this will be to copy objects for subframe updates.
2015-08-26Fix T45631: Ambient update rendered bugSergey Sharybin
The issue was in fact caused by both preview and viewport renderers affecting on the default material, conflicting with each other. Preview render doesn't really need default material, so we can safely skip it's initialization in the render pipeline for preview rendering.
2015-08-25Preemptive fix for search-buffer size issuesJoshua Leung
Forgot to increase the size of the string buffer in b88d8916e44f998c4f0bc397b29b0d6ff0f011e9 While this wouldn't have caused problems in most cases (since most modifier names are short), in the rare event that a long modifier name exists, the buffer may have ended up being truncated prematurely, causing the wrong FCurves to get matched.
2015-08-25OpenSubdiv: Support multiple materials for GLSL viewSergey Sharybin
2015-08-25OpenSubdiv: Support for multiple materials in solid shading modeSergey Sharybin
Implementation is less optimal compared to non-opensubdiv drawing but it is now as good as we can do it without affecting on how patches are being created by OpenSubdiv.
2015-08-25OpenSubdiv: Fill in some missing drawing callbacks of CCGDMSergey Sharybin
2015-08-25Fix T45891: Crash generating previewsCampbell Barton
2015-08-25Fix T45729: Cycles Bake break when building a special meshSergey Sharybin
The issue was caused by CD_SHAPEKEY_INDEX layer being added to edge data, now we make sure all the layers are nicely re-allocated.
2015-08-25Fix T45814: Writing MP4, h.264 not supportedCampbell Barton