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
2016-07-27Fix T48061: Crash with adaptive domain and cases when there's no smokeAlexander Gavrilov
2016-07-27Fix T48760: Changing Renderlayer Compositor node Layer does not update ↵Sergey Sharybin
enabled outputs until script is finished
2016-07-27Fix T48829: Memory leak on Blender ExitSergey Sharybin
It was possible to have missing outlink but GPUNodes in material.
2016-07-27Fix T48950: Movie Clip mode segfaultsSergey Sharybin
Missing linking code in blenloader.
2016-07-26Correct UI names of ID typesJulian Eisel
Also correct typo.
2016-07-26More useful block name for report popup blocksJulian Eisel
Report popups simply reuse popup menu code, so their blocks got "UI_popup_menu_begin" assigned as name, which was a bit misleading. Now uses "UI_popup_menu_reports". Ideally they'd have their own popup code.
2016-07-26Fix T45936: invalid cycles motion blur for particle rotation and children.Alexander Gavrilov
Commit rB709ca0ece changed how rotation was handled for particles so that unless actual rotation physics is enabled, there is no rotation. However it only updated ptcache_particle_read, forgetting to change exactly the same code in ptcache_particle_interpolate. This means that for subframes old code that computes a rotation from velocity is used, resulting in completely different rotation than for integer frames. This causes rotational motion blur by itself, and also mangles motion blur paths of child particles. Reviewers: sergey, lukastoenne Maniphest Tasks: T45936 Differential Revision: https://developer.blender.org/D2124
2016-07-26Fix T48813: Custom icon is not drawn on header / addons prefs panel.Bastien Montagne
For now use 'brute force' and refresh whole UI when new icons get rendered. See comment of T48813 for ideas about how to handle that in future (2.8 project ?).
2016-07-26Fix issues in ID usages checks - we are not interested in self-usages here.Bastien Montagne
Drivers or constraints referencing self object could break deletion of proxy objects (due to their ambiguous, half-local, half-linked status).
2016-07-26Fix T48902: MCE Dopesheet does not respect Left Click selectSergey Sharybin
Make the operator consistent with animation dopesheet now.
2016-07-26Depsgraph: Use proper check whether ID is an objectSergey Sharybin
Fixes bug which resulted in making it so layers from all layers are getting updated. Reported by Juan Pablo Bouza.
2016-07-26Depsgraph: Use proper unsigned int bitfield for layers flagsSergey Sharybin
2016-07-25Curve Drawing: use more closely spaced samplesCampbell Barton
Re-fitting makes better use of more samples.
2016-07-25OpenSubdiv: Fix opensubdiv option obscuring the interfaceSergey Sharybin
2016-07-25Cleanup: factorize the 'ensure local' part of datablock copy into a single ↵Bastien Montagne
BKE_id_copy_ensure_local function.
2016-07-25OpenSubdiv: Fix missing support of flat shading in textured viewportSergey Sharybin
2016-07-25OpenSubdiv: Use proper material indexSergey Sharybin
2016-07-25Cleanup: debug-only variable.Bastien Montagne
2016-07-25Curve Drawing: Use cyclic for stroke with near start/end pointsCampbell Barton
2016-07-25Curve Drawing: Add option to use new refit methodCampbell Barton
2016-07-25Curve Fitting: Add alternate 'refit' methodCampbell Barton
This is an alternative method for fitting a curve which incrementally simplifies the curve, then re-fits. Generally gives better results, also improves corner detection.
2016-07-24Fix T48397: Can not bake tweaked NLAKévin Dietrich
We need to leave tweak mode before trying to modifiy the action as doing so will leave Blender in a semi-corrupted state. Reviewers: #animation Reviewed by: aligorith Maniphest Tasks: T48397 Differential Revision: https://developer.blender.org/D2119
2016-07-24Fix T48663: The Soft Light blend type layer make the color darker in theKévin Dietrich
3D view There was a misusage of the `outcol` and `texcol` params. The actual formula should have been: incol = facm * outcol + fact * ((one - outcol) * texcol * outcol + outcol * scr); To make sure the result is consistent with material mode, reuse the material blend function (mix_soft), similarly to what most other texture blend modes do.
2016-07-23Cleanup: styleCampbell Barton
2016-07-23Cleanup: warningCampbell Barton
2016-07-23fix atan2f input conditionalMike Erwin
Suspicious conditional found by PVS-Studio T48917 Original code (from Blender’s initial open-source commit!) looks like it’s testing inputs to atan2f, to avoid undefined function values. Passing xn=0 does *not* always evaluate to 0 though… I’m not sure if this is a coding error or was done for a desired visual result. Also changed xn==0 to xn>=0 to avoid function call in more cases. Good description and visualization of atan2f function: http://en.cppreference.com/w/c/numeric/math/atan2
2016-07-22OpenSubdiv: Properly respect Subdivide UVs optionSergey Sharybin
2016-07-22Fix crash using ID remapping on invalid ID pairsJulian Eisel
Missing NULL checks caused crash in BKE_reportf formatting.
2016-07-22OpenSubdiv: Initial support of UV maps in material shading modeSergey Sharybin
2016-07-22OpenSubdiv: Properly support active UV layer in textured viewSergey Sharybin
2016-07-22OpenSubdiv: Lay down fundamentals to support multiple UV mapsSergey Sharybin
2016-07-22Correct mistake comparing verticesCampbell Barton
2016-07-22use bool consistently, fix redundant conditionalMike Erwin
Redundant conditional (line 939) found with PVS-Studio T48917 There’s still a lot of true/false, 1/0, SELECT/DESELECT usage nearby. Not a problem, just confusing to read.
2016-07-22remove double-checked conditionsMike Erwin
Checking a condition right after we’ve checked it (and it hasn’t changed). Most of these are trivial to understand. split_quads in convertblender.c: It seems quads should be processed and triangles should be marked as not needing split. So I removed the outer vlr->v4 check. Found with PVS-Studio T48917
2016-07-22Fix T48926: Subdivide edge-ring crashCampbell Barton
Also resolves: T34294
2016-07-22fix confusing operator precedenceMike Erwin
Assigning within a conditional is confusing and error prone so I rewrote in a more straightforward way. Found with PVS-Studio T48917
2016-07-22fix enum type / values mismatchMike Erwin
Found with PVS-Studio T48917
2016-07-22fix null pointer dereferencesMike Erwin
Found with PVS-Studio T48917
2016-07-22fix comparison of identicalsMike Erwin
Some of these check that dimensions match before running code that assumes they do match. For imb_stereo3d_write_anaglyph I *assume* this change reflects the intended behavior. Before it was always grabbing alpha from buffer 0. Found with PVS-Studio T48917
2016-07-22Cleanup: pass pointer to texture draw stateCampbell Barton
2016-07-22BMesh: compare face angles as angles cosineCampbell Barton
2016-07-22Fix broken proxy object deletion.Bastien Montagne
Check to ensure we do not delete last instancing of an indirectly used object (forbidden because it creates 'ghost' objects user have no real way to re-instance) was defeated by the backward pointer 'proxy_from', which generated a 'false' indirect usage of (local) proxy object itself (the one we are trying to delete). Fixed by actually considering that ID usage as local if proxy object itself is local (because that pointer actually does not 'pertain' to the object holding it, but to its proxy). Yeah, it's... complicated, twisted and ugly - it's proxy.
2016-07-21fix typo in conditionMike Erwin
(A - A).norm() is always 0 so condition is always true. (A - B).norm() and (B - A).norm() both compute the same distance so I picked one to match surrounding code. Found with PVS-Studio T48917
2016-07-21Fix T48915: Wrong threshold on scaled objects and ortho view.Germano Cavalcante
`ray_is_normalized` == true in DerivedMesh
2016-07-21Fix crash w/ auto-insert offsetCampbell Barton
2016-07-21Cleanup: warningsCampbell Barton
2016-07-21remove repeated codec-supports-alpha checkMike Erwin
I don’t think any other codec enum makes sense here, so probably just an extra copy/paste. Here are the video codecs: AV_CODEC_ID_NONE AV_CODEC_ID_MPEG4 AV_CODEC_ID_MJPEG AV_CODEC_ID_DNXHD AV_CODEC_ID_MPEG2VIDEO AV_CODEC_ID_MPEG1VIDEO AV_CODEC_ID_DVVIDEO AV_CODEC_ID_THEORA AV_CODEC_ID_PNG <— alpha AV_CODEC_ID_QTRLE <— alpha AV_CODEC_ID_FFV1 <— alpha (if enabled) AV_CODEC_ID_HUFFYUV <— alpha AV_CODEC_ID_H264 AV_CODEC_ID_FLV1 Found with PVS-Studio T48917
2016-07-21Add BKE_mesh_calc_islands_loop_poly_uvmap and use it in new OSD UV subdiv.Bastien Montagne
Also renamed BKE_mesh_calc_islands_loop_poly_uv to BKE_mesh_calc_islands_loop_poly_edgeseam, to avoid confusion...
2016-07-21BKE mesh mapping: add new BKE_mesh_edge_loop_map_create().Bastien Montagne
Maps edges to all their pair of loops.
2016-07-21Fix (unreported) memleak in image copy function.Bastien Montagne