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-08-17Fix T49086: UV Along Stroke can be set as vector input for environment textureSergey Sharybin
2016-08-13Fix T49082: Intermediate update call when making links can change group ↵Lukas Tönne
socket layout. Node tree update calls in the middle of a socket loop are dangerous, they can change sockets on group nodes and link instances in particular. Updates should only happen after the operator has finished. Simply removed the extra convenience check for validity now. Worst case an invalid (red) link is created which can be removed by the user as well and should simply be ignored by node systems. The update system in nodes needs a complete rewrite to handle complex cases like this, where an operator may need to react to changes during its execution.
2016-08-04UI: Correct tooltips for properties region toggle OPJulian Eisel
Now all consistent and using term "properties region" instead of "properties panel". Ideally we had a more generic operator for all those. Fixes T49006.
2016-08-04Grease Pencil v2 BranchAntonio Vazquez
Improve current Grease Pencil in order to get a better 2D animation tool. More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov Reviewed By: Severin, aligorith, campbellbarton Patch by @antoniov, with edits by @Severin. Differential Revision: https://developer.blender.org/D2115
2016-07-27Avoid creating multiple outputs connected to the same socket when creating a ↵Lukas Stockner
node group This patch fixes the annoyance that when creating a node group where one of its nodes is connected to several other nodes, a separate output will be created for each link, even though they're all connected to the same socket in the group. Now, before adding an output for an outgoing link, the existing outputs are checked to find whether any output is already connected to the same socket. If such an output is found, it is reused instead of creating a new one. Reviewers: Severin Subscribers: Blendify Differential Revision: https://developer.blender.org/D1836
2016-07-21Fix crash w/ auto-insert offsetCampbell Barton
2016-07-10Cleanup/Refactor: pass Main pointer to all ID copy functions.Bastien Montagne
Also allows us to get rid of a few _copy_ex() versions...
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-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-05-05Cleanup: styleCampbell Barton
2016-05-04Compositor: negative color support for ASC-CDL offsetCampbell Barton
Since the color wheel can't handle negative colors usefully, use a basis value for the initial RGB.
2016-04-29Fix crash (segfault) in node editor.Bastien Montagne
In some cases, we can have nodegroups without attached nodetree, this case is checked in top `node_group_has_output()` entry point, but not in recursive `node_group_has_output_dfs()`. Issue appeared after rB42824f4403db3a35, presumably because check on node flag itself was skipping that case, which is no more possible when using ID tags. Reported by sebastian_k over IRC, thanks.
2016-04-27Nodes: sort builtin compositor/shader/texture nodes alphabetically in menusBrecht Van Lommel
Reviewed By: lukastoenne, dingto, Severin, carter2422 Differential Revision: https://developer.blender.org/D1957
2016-04-06Fix missing viewport update when tree output is in a nodeSergey Sharybin
There was already an attempt to do it, but it worked incorrect because of wrong recursion check.
2016-04-05Revert "Cycles: Remove the Preetham Sky model."Thomas Dinges
This reverts commit d91316dc672dc1ee69fbd24d2f00124a24b75c6b.
2016-04-03Cycles: Remove the Preetham Sky model.Thomas Dinges
The improved Hosek / Wilkie model was added during my GSoC 2013 and the default since then. The older model was kinda kept for compatibility, but after more than 2 years it's time to remove it. The Hosek / Wilkie model is more realistic anyway, and people who really want a day / night transition can mix the Sky Shader with another one (e.g. color) and fade between the two.
2016-03-28Fix T47898: Error adding mask node with "Add Mask Node" operatorSergey Sharybin
This operator is intended to be used by drag-n-drop, no user invocation is expected to happen here. Use Add->Search to quickly add nodes instead.
2016-03-24Color sources for point density textures based on mesh verticesLukas Tönne
This patch adds support for coloring point density textures based on several mesh vertex attributes. * Vertex Color: Use a vertex color layer for coloring the point density texture * Vertex Weight: Use a weights from a vertex group as intensity values. (for Blender Render engine the additional color band is used) * Vertex Normals: Use object-space vertex normals as RGB values. The vertex color source enum is stored separately from the particle color source, to avoid invalid values when switching. Note that vertex colors are technically "corner colors" (MLoop), so each vertex can have as many colors as faces it is part of. For the purpose of point density the mloop colors are simply averaged, which is physically plausible because corners can be viewed as multiple points in the same location.
2016-03-23Fix T47870: Missing viewport update when material output is inside of the groupSergey Sharybin
2016-03-17Fix T47827: Single Channel Preview ErrorCampbell Barton
Fix by @sergey with own fix for big endian.
2016-03-16Fix text on collapsed node not positioned correctly with high DPIJulian Eisel
Reported by @JacquesLucke via IRC, thx!
2016-03-12Increase node max width to 700pxJulian Eisel
Opened and collapsed nodes now have a max width of 700px. Animation nodes add-on needs this.
2016-03-09Fix T47729: Linking node sockets using shortcut failsJulian Eisel
Could also have swapped nodes to assign instead of swapping after assigning, but this way it's easier to see whats going on.
2016-03-02Avoid node tree update tag when changed nodes which are not affecting resultSergey Sharybin
This was we don't have re-compo or viewport re-rendering happening when changing nodes which are not connected to the output at all (for example when adding new nodes or changing settings for unconnected nodes). Only basic operations are covered for now. checks could be added to more tools when needed. Currently it's not fully optimal implementation, but seems to work fast enough. Don't see reliable alternative to that -- keeping tag in the node wouldn't work because of the node groups (which are probably already broken, but should be easy to solve with current approach). So guess it's more matter of optimizing path search from a node to output. Before processing forward let's check whether it's indeed something we want and whether the approach is indeed not fully bad. Reviewers: campbellbarton, mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1765
2016-03-02UI: Add search-create callbackCampbell Barton
Needed to support alternate search UI's, no functional changes.
2016-02-20Fix (unreported) crash when ungrouping a nodegroup with some animated node.Bastien Montagne
Was accessing already freed action in temp nodegroup animation data...
2016-02-19Fix frame node text ignoring blank linesCampbell Barton
2016-02-10Node Editor: Another missing glLineWidth resetJulian Eisel
Caused too thick outlines around nodes and around preview image in node.
2016-02-07Cleanup: line widthCampbell Barton
2016-01-23OpenGL: call glLineWidth less oftenMike Erwin
Each LINES draw call is now responsible for its own line width. No need to set it back to its 1.0 default after every draw. This eliminates half our calls to glLineWidth , similar to last week’s work on glPointSize.
2016-01-22OpenGL: remove glGet with unused resultMike Erwin
This code is disabled but still…
2016-01-22OpenGL: remove extra vertex in arrowheadMike Erwin
Now draws 2 lines instead of 3 (with a zero-length middle). Same visual result.
2016-01-14Cleanup: warning, whitespaceCampbell Barton
2016-01-14Cycles: Remove the experimental CUDA kernel.Thomas Dinges
This commit removes the experimental CUDA kernel, making SSS and CMJ regular features. Several improvements have been made in the past few weeks (thanks Sergey!) which make SSS render several times faster (2-3x compared to 2.76b) on the GPU, and the increased VRAM usage has also been fixed. Therefore the experimental kernel is no longer needed. Differential Revision: https://developer.blender.org/D1726 Manual has been updated: too: https://www.blender.org/manual/render/cycles/features.html
2016-01-14Compositor: Add option to extend image bounds when blurringSergey Sharybin
It is handy when doing some roto work and it's required to blur some mask or overaly before alpha-overing it on top of the footage. Quite straightforward option with the only limitation that variable size blur is not supported. Reviewers: campbellbarton Subscribers: hype, sebastian_k Differential Revision: https://developer.blender.org/D1663
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2016-01-02Cycles: Add Saw option to the wave textureLukas Stockner
This commit adds "Bands Saw" and "Rings Saw" to the options for the Wave texture node in Cycles, behaving similar to the Saw option in BI textures. Requested by @cekuhnen on BA. Reviewers: dingto, sergey Subscribers: cekuhnen Differential Revision: https://developer.blender.org/D1699
2015-12-27Split id->flag in two, persistent flags and runtime tags.Bastien Montagne
This is purely internal sanitizing/cleanup, no change in behavior is expected at all. This change was also needed because we were getting short on ID flags, and future enhancement of 'user_one' ID behavior requires two new ones. id->flag remains for persistent data (fakeuser only, so far!), this also allows us 100% backward & forward compatibility. New id->tag is used for most flags. Though written in .blend files, its content is cleared at read time. Note that .blend file version was bumped, so that we can clear runtimeflags from old .blends, important in case we add new persistent flags in future. Also, behavior of tags (either status ones, or whether they need to be cleared before/after use) has been added as comments to their declaration. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D1683
2015-12-04Disable node updates while applying links from the dragging operator.Lukas Tönne
This prevents issues with reentrant update callbacks and modification of the node tree while the operator still holds pointers to it.
2015-12-03Node callback for handling link insertion and swapping of occupied inputs.Lukas Tönne
Nodes have a feature for moving existing links to unoccupied sockets when connecting to an already used input. This is based on the standard legacy socket types (value/float, vector, color/rgba) and works reasonably well for shader, compositor and texture nodes. For new pynode systems, however, the hardcoded nature of that feature has major drawbacks: * It does not take different type systems into account, leading to meaningless connections when sockets are swapped and making the feature useless or outright debilitating. * Advanced socket behaviors would be possible with a registerable callback, e.g. creating extensible input lists that move existing connections down to make room for a new link. Now any handling of new links is done via the 'insert_links' callback, which can also be registered through the RNA API. For the legacy shader/compo/tex nodes the behavior is the same, using a C callback. Note on the 'use_swap' flag: this has been removed because it was meaningless anyway: It was disabled only for the insert-node-on-link feature, which works only for completely unconnected nodes anyway, so there would be nothing to swap in the first place.
2015-11-30Fix T38245: render slot getting lost when switching slots while compositing.Brecht Van Lommel
2015-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
2015-11-23Cleanup: shadowing (editors)Campbell Barton
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-11-12Cleanup: rename line to segments, avoids confusionCampbell Barton
Differentiate between lines and segments.
2015-11-12Fix error cutting node linksCampbell Barton
Accessing theme from outside drawing code isn't reliable, pass space-type.
2015-11-11Cleanup: replace more direct id->us handling by calls to BKE_library API.Bastien Montagne
2015-11-09Cleanup: avoid incrementing/decrementing id->us outside of BKE_library.Bastien Montagne
We have callbacks for that, they also do some checks and help ensure things are done correctly. Only place where this is assumed not true is blenloader (since here we may affect refcount of library IDs as well...).
2015-10-27Compositor: Add Invert option to the movie clip stabilization nodeSergey Sharybin
This appears to be really common workflow when you stabilize shot to make compo easier (roto, some effects and so) and then re-introduce the motion back. Surely it's doable with some magic nodes and manual network for transforming but such workflow is too common in VFX to resist adding one small option in single node for this.
2015-10-23Node Border Select: only frames inside borderCampbell Barton
Without this you can't easily select a few nodes inside a frame, without selecting the whole frame, noted in T46540