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-06-23Dopesheet: Lasso and Circle Select tools work for selecting keyframesJoshua Leung
This only works in the Action and Dopesheet modes (which operate on FCurve keyframes). Support for Grease Pencil and Mask Keyframes though is still pending.
2016-06-23Code Cleanup - Circle/Lasso select in the Graph EditorJoshua Leung
2016-06-23GPencil UI: Streamline toolbar options a bitJoshua Leung
As suggested by mendiobox: * Don't show "enable editing" in the 3D view. You can already do this by switching into stroke editing mode here, so no need for the duplication. (In other editors though, this can't be done yet, so we don't do it) * Make the "Convert" button into a dropdown so that you don't need to deal with a a separate popup menu * In the 3D view, don't show the selection + transform operators that can be easily found in the menus too (as well as having commonly used shortcuts)
2016-06-23GPencil: Added a new version of the "delete active frame" operator which ↵Joshua Leung
deletes on all editable layers This new operator will delete any GP frame it finds on the current frame, regardless of whether it's on the active layer or not. It will only remove the frames if the layer is editable, but otherwise, it will just go for it. The existing operator is great for use in the panel (where it only applies to the active frame), but it was not so good for all the other places where tools can be invoked (e.g. D-X, or Delete) as you're typically thinking about the whole scene more holisticaly than just caring about a particular layer.
2016-06-23Fix T48689: Transform proportional size was not seriously clamped.Bastien Montagne
Now use same, reasonable min/max values, to avoid getting inf or zero values when using shortcuts during transform operation...
2016-06-23Fix T48707: Edit-mesh intersect crashCampbell Barton
In rare cases intersect would attempt to add edges with the same vertex twice from edge-vert / edge-edge intersections. Solve by checking for duplicates when creating vertex-array for these types of intersections (always under 3x comparisons, so not much overhead).
2016-06-23Correct recent change to edge-netCampbell Barton
Need account for cases where vertex connects a single edge.
2016-06-23Fix T48710: 'velocity' particle settings were incorrectly using 'speed' in ↵Bastien Montagne
their tooltips. Not the same thing, velocity is a vector conveying both speed *and* direction...
2016-06-23Use hard min/max for view clippingCampbell Barton
In rare cases its useful to have far clip below 1.
2016-06-23Correct assertCampbell Barton
2016-06-23RNA: Expose hook inverse matrixCampbell Barton
Needed so scripts don't need to use operators to adjust hook modifiers.
2016-06-23BLI_array_utils: add BLI_array_rfindindexCampbell Barton
Array search from back to front.
2016-06-23Cycles: Fix the Convert Node type registrationLukas Stockner
The function that assigns names to socket types missed an entry, therefore all entries after it were mapped to the wrong name. Long-term, it might be a better solution to use a map to avoid issues like these, but for now this fix works.
2016-06-23Fix T48658: Cycles render & render preview corrupts particlesCampbell Barton
Replaces `G.is_rendering` with `use_render_params` argument. This is needed for Cycles, which attempts to restore render-preview settings from particles, after it gets its own particle data, but fails to restore because `G.is_rendering` was being checked in psys_cache_paths (and other places).
2016-06-22ID-Remap, step two: add some user-level tools.Bastien Montagne
This commit adds operators and Outliner menu entries to reload or relocate a library, and to delete or replace a datablock. RNA ID API is also extended to allow ID deletion and remapping from python. Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22Cleanup: use proper RNA struct type for ListBase typeBastien Montagne
(otherwise all code using RNA has to link DNA_listbase.h, not clean at all!).
2016-06-22ID-Remap - Step one: core work (cleanup and rework of generic ID datablock ↵Bastien Montagne
handling). This commit changes a lot of how IDs are handled internally, especially the unlinking/freeing processes. So far, this was very fuzy, to summarize cleanly deleting or replacing a datablock was pretty much impossible, except for a few special cases. Also, unlinking was handled by each datatype, in a rather messy and prone-to-errors way (quite a few ID usages were missed or wrongly handled that way). One of the main goal of id-remap branch was to cleanup this, and fatorize ID links handling by using library_query utils to allow generic handling of those, which is now the case (now, generic ID links handling is only "knwon" from readfile.c and library_query.c). This commit also adds backends to allow live replacement and deletion of datablocks in Blender (so-called 'remapping' process, where we replace all usages of a given ID pointer by a new one, or NULL one in case of unlinking). This will allow nice new features, like ability to easily reload or relocate libraries, real immediate deletion of datablocks in blender, replacement of one datablock by another, etc. Some of those are for next commits. A word of warning: this commit is highly risky, because it affects potentially a lot in Blender core. Though it was tested rather deeply, being totally impossible to check all possible ID usage cases, it's likely there are some remaining issues and bugs in new code... Please report them! ;) Review task: D2027 (https://developer.blender.org/D2027). Reviewed by campbellbarton, thanks a bunch.
2016-06-22Cycles: Fix crash with Environment Texture and OSLLukas Stockner
In the OSL node compilation code for the Environment Texture, is_linear was used as a socket. However, there was no socket for it, which caused Blender to crash. Adding a socket doesn't really make sense since it's an internal value and not a parameter of the node, so it now just uses the variable directly.
2016-06-22EditMesh: Avoid creating deform-vert layer every redrawCampbell Barton
Getting a new edit-derived-bmesh was always creating a deform-vert array, even when it wasn't needed. Since this was called on redraw, in many cases it was doing it unnecessarily. Now pass in a custom-data mask and only fill in deform-verts when needed. Gives noticeable drawing speedup (~10-30% here).
2016-06-22Cleanup: styleCampbell Barton
2016-06-22Cleanup: remove unused Image space curvesCampbell Barton
Caused leaks reading old files, was read/written but not freed, remove since its unused.
2016-06-22readfile: use BLI_endian_switchCampbell Barton
Replace inline endian switching
2016-06-22Remove module reloading for preview operatorsCampbell Barton
This can be kept on file level but best keep out of operator functions.
2016-06-22writefile: use const for old addressCampbell Barton
Also remove temp preview overwriting.
2016-06-22Fix T48703: Name inconsistency w/ area maximize/fullscreenCampbell Barton
Name operator based on default behavior.
2016-06-22Docs: use doxy formatting for readfileCampbell Barton
2016-06-22T48694: fix bge.texture.Texture.refresh() documentationBenoit Bolsee
first parameter is mandatory and must be a bool indicating if the image source should be refreshed after updating the texture.
2016-06-21Fix null-pointer freeCampbell Barton
Own error in recent decimeter commit
2016-06-21Fix T48700: Crash when window creation failsCampbell Barton
Check if Python is initialized before calling BPY_python_end.
2016-06-21Fix T48698: Rays from SSS act as diffuse for normal objects but have an ↵Lukas Stockner
undefined type for lamp objects The problem here was that there are five path types internally (diffuse, glossy, transmission, subsurface and volume scatter), but subsurface isn't exposed to the user. This caused some weird behaviour - if all four types are disabled on the lamp, Cycles doesn't even try sampling it, but if any type was active, the lamp would illuminate the cube since none of the options set subsurface to zero. In the future, it might be reasonable to add subsurface visibility as an option - but for now the weird and inconsistent behaviour can be fixed simply by setting both diffuse and subsurface to zero if the user disables diffuse visibility.
2016-06-21Cleanup: hide debug print behind proper debug defines instead of using ↵Bastien Montagne
comments...
2016-06-21Fix T48412: Blender 2.77a crashes on Undo in some specific multi-level ↵Bastien Montagne
linked libraries cases. Good old dead-brain stupid error when iterating over a linked list from which you remove some items...
2016-06-21Fix for string buffer overflow in DepsNode identifiers.Lukas Tönne
Layer flags can go up to 2^n-1 for n layers, requiring *at least* 9 chars + 1 terminator for 20 layers.
2016-06-21Fix T48697: Brush curve-stroke snaps strangelyCampbell Barton
Support Snapping screen-space 2d curves, (was applying world-space coords in screen-space). Also show snap settings in header.
2016-06-21Fix T48196: Crash enabling modal operator in execCampbell Barton
Not good practice, but better not crash.
2016-06-21Cleanup: rename curve align-x flagsCampbell Barton
2016-06-21Text Object: Vertical AlignmentDalai Felinto
A new option for Font/Text objects vertical alignment: * Top Base-Line (current mode) * Top * Center * Bottom The Top is the equivalent as the Top-Baseline with an empty line at the begin of the text. It's nice to have this option too though, since if we are driving the alignment via Python we don't want to add extra lines to the text only to accomodate to the desired vertical alignment. The Center and Bottom are as intuitive as their name suggest. When working with text boxes, the vertical alignment only work for paragraphs that are not vertically full. Many thanks to Campbell Barton (ideasman42 / @campbellbarton) for the code review, code comments, and overall suggestions and changes :) Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D2061
2016-06-21Fix T48688: Crash loading particle effector weightsCampbell Barton
2016-06-21Fix T48691: Cycles - OpenCL - HDR Image mapping does not match CUDA renderingLukas Stockner
The OpenCL texture code didn't offset the coordinates by half a pixel like the CPU code does.
2016-06-21Cycles: Deduplicate Vector and RGB Curve nodesLukas Stockner
Since most of the code for these two nodes was identical, this commit now instead uses a common base class that implements all the functionality.
2016-06-21Fix T48683: Knife cut creates holeCampbell Barton
BM_face_split_edgenet wasn't correctly detecting boundary vertices to walk over, since vertices may be attached to boundary edges not part of the newly created face.
2016-06-21BMesh: avoid verts-of-edge iteratorCampbell Barton
Since this function is called a lot, loop over data directly.
2016-06-20Cycles: Add svm_util_color.h file to CMakeLukas Stockner
The file wasn't included in CMake and therefore not installed into the addon folder.
2016-06-20Fix building for Windows after 57cff46v (booleans unitialized)Dalai Felinto
2016-06-20Fix once more time particle distribution.Bastien Montagne
rB046adde64f16 was actually pretty useless (and broken), since issue ends up not being in binary search code, but in generation of the 'summed weights' array used to distribute particles over mesh items - looks like very small weights could lead to null accumulated weights, wich was breaking binary search. Fixed simply by adding a minimal, non-zero weight for mesh items to be allowed to emit particles. Hopefully we are done with this distribution mess!
2016-06-19Cleanup: Remove todo comment, this is fine as is.Thomas Dinges
2016-06-19Cycles: add constant folding for more color operation nodes.Alexander Gavrilov
Invert, brightness & constrast, separate/combine and Mix RGB blend modes and clamping.
2016-06-19Fix issues with node deduplication in Cycles shader graph.Alexander Gavrilov
It is not possible to use a set split by name as valid input to check_node_input_traversed - it needs a complete set of all nodes visited so far. On the other hand, the merge comparison loop should only check nodes that were not just visited, but found unique. This means that there should really be two separate data structures. Without the fix, check_node_input_traversed actually never returns true, so only nodes without any inputs are processed.
2016-06-19Fix Cycles RGB and Vector Curves node Fac handling.Alexander Gavrilov
2016-06-19Code refactor: small code simplification for Cycles constant folding.Brecht Van Lommel