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-04-15Fix T48151: Brush texture overlay won't refresh automatically in UV editor ↵Bastien Montagne
when changed in buttons window. Simple solution is to get rid of this stupid `rna_TextureSlot_brush_update` func, and do what it was doing directly in BR case of `rna_TextureSlot_update`. That way, all updates to brush texture will invalidate correctly the overlay. Note that this double definition of texture pointer for brushes looks rather fishy, am really not convinced this helps keeping things simple and clear at all (what happened here is that texture selector in image paint editor was using 'texture' member of brush itself, which was performing correct RNA update, while context-based brush texture selector from buttons space was using 'texture' member of the TextureSlot struct, which had default texture update callback which was not invalidating overlay).
2016-04-15New freehand curve drawing toolCampbell Barton
- Access with Shift-LMB or from the 'Create' toolbar tab. - Uses curve fitting for bezier curves, with error and corner angle options. - Optional tablet pressure to curve radius mapping. - Depth can use the cursor or optionally draw onto the surface, for the entire stroke or using the stroke start. - Stroke plane can optionally be perpendicular to, or aligned to the surface normal. - Optional radius tapering and for start/end points. - Supports operator redo and calling from Python.
2016-04-15Add lib for n-dimensional cubic curve fittingCampbell Barton
This will be used for calculating bezier curves from freehand drawing, may be used for other areas too. Original code from GraphicsGems, 1990 (FitCurve.c), with updates from OpenToonz, under 3 clause BSD license. with own minor modifications for integration with Blender: - support adding extra custom-data. - improved handle clamping.
2016-04-15Cycles: Support heat volume attributeSergey Sharybin
Similar to velocity, it was kind of supported by the mesh manager but was missing a code in BlenderSession to get actual values. In Cycles Heat is an attribute which goes from -1 to 1, where -1 is the coldest ever temperature, 1 is the hottest ever one.
2016-04-15Cycles: Improve error print a bitSergey Sharybin
2016-04-15Tests: Fix wrong hash after "no redundant zeroes" commitSergey Sharybin
2016-04-15Drivers Editing: Added "Copy/Paste" buttons beside "Add Variable" for ↵Joshua Leung
copying all variables from one driver to another This was a feature request from a few years back (IIRC from ZanQdo?) to make it easier to reuse one set of driver variables across several different drivers. Dev Notes: * Finally it's done! All that trouble for two little buttons. * Grr... cmake... grrr!
2016-04-15NLA Copy/Paste Modifiers: Apply similar fixes as those done in Graph EditorJoshua Leung
2016-04-15Fix T42148: Copying/Pasting FModifiers copies to all selected FCurves, not ↵Joshua Leung
just active one
2016-04-15FModifiers: Various tweaks for consistency + improved behaviourJoshua Leung
* Use an RNA enum callback for NLA FModifier types too * Cleaned up tooltips for these operators in Graph and NLA editors * Fix update notifiers after adding FModifiers in the Graph Editor
2016-04-15FModifiers: "Add Modifiers" in Graph/NLA Editor buttons now uses a dropdown ↵Joshua Leung
instead of a button This brings the UI here more in line with the Constraints and Modifiers UI's. TODO: * The tooltips/descriptions on the operators now need fixing, as we can no longer use custom tooltips when defining these buttons. * The operators need to be fixed to only operate on the active data
2016-04-15Code Cleanup: Add proper defines (with ANIM_* prefix) for animation-related ↵Joshua Leung
copy-paste buffer free callbacks
2016-04-15Graph Editor: Move "View" panel to be the lastJoshua Leung
This change means that when going from having no FCurves active to having an active FCurve, the properties panels will not get stuck with only showing the "View" tab, which is not that useful a lot of the time.
2016-04-14Cycles: Yet another fix for camera in volumeSergey Sharybin
Was an embarrassing glitch in original optimization policy, the for-loops can't be de-duplicated here.
2016-04-14Compositor: Fix image and render layer always extending edgesSergey Sharybin
It was no more possible to translate two images, put one on top of another in order to do things like mapping VR views.
2016-04-14Remove redundant abs ray/line point functionsCampbell Barton
2016-04-14Math Lib: ray_point_factor_v3 functionsCampbell Barton
Gives a bit better precision than creating a line in some cases, use for ED_view3d_win_to_3d.
2016-04-13Cycles: Resolve ridiculous amount of memory used by spatial split builderSergey Sharybin
This was only visible on systems with lots of threads and root of the issue was that we've been pre-allocating too much memory for all the threads. Now we only pre-allocate data for the main thread and rest of the threads does allocation on-demand. This brings down memory usage from 36Gig to 6.9Gig when building spatial split for the Bunny.blend file on our Intel beast. Originally regression was happened by the threaded spacial split builder commit.
2016-04-13Fix T47813: Cycles Standalone not respecting integrator sample_clamp_directSergey Sharybin
2016-04-13Cleanup string includes after versioning commitsThomas Dinges
2016-04-13Show version number in UI as wellThomas Dinges
2016-04-13Tweaks to the version string formationSergey Sharybin
Couple of things: - No need to use string streams to format the version string, we can do it at compile time and don't bother with anything at runtime. - Function declaration was wring and would have caused linking conflicts in cases when util_version.h was included from multiple places. We should have an utility function to get Cycles version so applications which are linked to Cycles dynamically can query the version, but that can't be done as an inlined function in header and would need to be a function properly exported to a global symbol table (aka, be implemented in a .cpp file).
2016-04-13Add a version number to Cycles standaloneThomas Dinges
Now Cycles has its own versioning, that is mainly interesting for external projects, which integrate the engine. We start with version 1.7.0. Reasons for that: * The engine is too mature for a 1.0 release. * We assume that Cycles inside of Blender 2.61 was version 0.1. We count upwards in 0.1 steps, therefore Cycles inside of Blender 2.77 would be 1.7. We use a common versioning scheme here, with 3 decimals for the major, minor and patch level. At the moment cycles --version can be used to display the version, easy to parse for external projects. The info will be added to the UI later aswell.
2016-04-13Cycles: Minor cleanup, whitespace around keyword and preprocessor indentSergey Sharybin
2016-04-13Cycles microdisplacement: preserve smooth normals for linear subdivisonMai Lavelle
This way we prevent cracks in the model due to discontinuous normals, by using smooth normals for displacement instead of always getting flat normals after linear subdivision. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1916
2016-04-12Fix T47754: Meshes glitch on cycling Viewport Shading mode with Linked GroupsSergey Sharybin
This is a regression since 4310128 which is cased by really bad logic: there might be dependencies between dupli-objects, which means _if_ we really want to ensure derived mesh on dupli creation we have to do it before any matrix is overwritten. I'm not sure if such derived mesh trick is really the only way to go without major refactor, but seems simple fix for now will do it.
2016-04-12Missed last commitCampbell Barton
2016-04-12Correct UI messages: hyphenate 'add-ons'Campbell Barton
2016-04-12Cycles: Add missing velocity attribute to builtin image loaderSergey Sharybin
For some reason other parts of blender importer were assuming velocity is supported, but actual loader was not aware of that. Fixes T48064: Adding velocity attribute crashes render
2016-04-12Cycles: Avoid crash when accessing non-existing volume attributeSergey Sharybin
2016-04-12CMake: consistency check now reports stale ignoresCampbell Barton
Also update ignore list.
2016-04-12Remove exception for file which no longer existsSergey Sharybin
2016-04-12Fix T47443: Circle & UV Sphere aren't alignedCampbell Barton
D1912 by @samb96 Change the starting point of the UV sphere so that it is aligned with the circle, cylinder, and cone primitives.
2016-04-12Remove any wrangler utility scriptsSergey Sharybin
2016-04-12CMake: ignore headerCampbell Barton
2016-04-12CMake: Partially revert recent missing headers commitSergey Sharybin
The header which was put to the CMake project is not by any means used during compilation, it is only used when manually updating CUDA wrangler from CUDA headers.
2016-04-12Cleanup: use boolCampbell Barton
2016-04-12CMake: add missing headersCampbell Barton
2016-04-12Cycles microdisplacement: UI tweak to use split columnMai Lavelle
Reviewed By: brecht, dingto Differential Revision: https://developer.blender.org/D1917
2016-04-12Cycles microdisplacement: refactor to move some tesselation code from ↵Mai Lavelle
SubdMesh to Mesh Reviewed By: brecht Differential Revision: https://developer.blender.org/D1915
2016-04-12Cycles microdisplacement: change use subdivision bool to subdivision type enumMai Lavelle
This is only the UI change, there is no underlying code change in this commit. Reviewed By: brecht Differential Revision: https://developer.blender.org/D1910
2016-04-12Cycles microdisplacement: perform subdivision dicing in raster spaceMai Lavelle
NOTE: this is only the first of many patches towards completing the subdivison and displacement system in Cycles. These patches will be reviewed and committed one by one over the coming weeks. Reviewed By: brecht, sergey Differential Revision: https://developer.blender.org/D1909
2016-04-11Cycles: Cleanup, make some comments easier to read on split editorsSergey Sharybin
2016-04-11Cycles: Remove hair support from volume BVH traversalSergey Sharybin
There are couple of reasons: - Volume shader on hair does behave really weird anyway and it's not something considered a bug really. - Volume BVH traversal were only used by camera-in-volume check, which doesn't really make sense to take hair into account since it'll be rendered wrong anyway. Such a removal makes both code easier to extend further (as in, no need to worry about those traversal for hair bvh) and also reduces stress on GPU compilers.
2016-04-11Cycles: Remove unused SAH from BVH packSergey Sharybin
2016-04-11Cycles: Rename tri_woop to tri_storageSergey Sharybin
It's no longer a pre-computed data and just a storage of triangle coordinates which are faster to access to.
2016-04-11Fix T48084: Solidify uses alternate quad-directionCampbell Barton
This prevents twisted quads from self-intersecting. This change makes the duplicate surface match the first vertex in the face, so the diagonal indices match in the face copy.
2016-04-11Fix T48082: Unwrap overwrites face selectionCampbell Barton
Sync selection option made adding a new UV layer select all edit-mesh faces. Now just select the UV's, ignoring sync-select option.
2016-04-11Fix T48103: Wrong renders on AMD OpenCL when Light Falloff node is usedSergey Sharybin
2016-04-11BGE: Fix T48071: Global logic managerPorteries Tristan
Previously the logic manager was used as a global variable for SCA_ILogicBrick::m_sCurrentLogicManager, this request to always update it before run any python script and allow call function like ConvertPythonTo[GameObject/Mesh]. The bug showed in T48071 is that as exepted the global m_sCurrentLogicManager is not updated with the proper scene logic manager. Instead of trying to fix it by updating the logic manager everywhere and wait next bug report to add a similar line. The following patch propose a different way: - Every logic brick now contain its logic manager to SCA_ILogicBrick::m_logicManager, this value is set and get by SCA_ILogicBrick::[Set/Get]LogicManager, It's initialized from blender conversion and scene merging. - Function ConvertPythonTo[GameObject/mesh] now take as first argument the logic manager to find name coresponding object or mesh. Only ConvertPythonToCamera doesn't do that because it uses the KX_Scene::FindCamera function. Reviewers: moguri Differential Revision: https://developer.blender.org/D1913