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
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-05Simplify node frame detach operators, based on T34670 by @julien.Lukas Tönne
* The `NODE_OT_parent_clear` operator has been removed. This was a very simplistic operator that detached every selected node, which is not very useful in case of hierarchical frames. The `NODE_OT_detach` operator only detaches the top parent nodes in the selection, keeping the hierarchy of selected nodes intact. * The `ALT+P` shortcut has been reassigned to the `NODE_OT_detach` operator which replaces the previous `NODE_OT_clear` mapping with similar behavior (also gives a menu entry shortcut now). * Shortcuts for `NODE_OT_detach_translate_attach` have been removed, due to crowded and messy keymap and unintuitive shortcut `ALT+F`. This macro operator is still registered, in case hardcore users want to make their own keymaps, but not mapped by default. Node keymaps may need some redesign in the future for these things.
2014-10-28Fix T41041: 'Delete keyframe' removes markers tooCampbell Barton
Operators that trigger UI events (but nothing else) were using 'CANCELLED' making it impossible to tell if an invoke function failed, or opened a menu.
2014-10-17Small fix for own commit, added new theme color defines but forgot toLukas Tönne
actually use them, thanks to Kevin Dietrich for noticing.
2014-10-14Fix T42209: Changing Node Editor header color also changes wire colorLukas Tönne
The nodes wire was using 'TH_HEADER' flag to get its color and thus would be in sync with the header. Now make it so it uses its 'own' flag (actually 'TH_SYNTAX_R', the only TH_SYNTAX_* which wasn't yet used by the nodes). Also expose the setting to the user so it can be themified. This fixes T42209 Reviewers: lukastoenne Reviewed By: lukastoenne Maniphest Tasks: T42209 Differential Revision: https://developer.blender.org/D827
2014-10-13Error in last commitCampbell Barton
2014-10-13BLI_utildefines: add SQUARE macroCampbell Barton
also minor cleanup
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-09-24Fix T41933: Node Editor: Crash occurs with Select by SuffixBastien Montagne
Wrong usage of `BLI_str_partition_ex_utf8`... This is to be backported to 2.72 branch.
2014-09-24Cleanup: const correctness for BLI_sortlistCampbell Barton
2014-09-18Cleanup: style, spellingCampbell Barton
2014-09-16Fix T41818: Missing refresh on Undo for nodes (mask example)Sergey Sharybin
Added a special notifier now NC_WM|ND_UNDO in order to deal with such cases and now compositor/image will refresh when undo happens. There are much more ways to fail compo to update the resul, like undoing while it's not visible and so, but as mont29 said -- let's at least fix obvious crap in the workflow.
2014-09-10WM: Add utility wmOrtho2_*** funcsCampbell Barton
Currently there are inconsistencies with pixel alignment. but this commit has no functional changes. - wmOrtho2_region_ui for UI/Text. - wmOrtho2_region_pixelspace for 2D drawing. - wmOrtho2_pixelspace - when the region isn't used.
2014-08-27CleanupCampbell Barton
2014-08-26Cycles: Add an experimental CUDA kernel.Thomas Dinges
Now we build 2 .cubins per architecture (e.g. kernel_sm_21.cubin, kernel_experimental_sm_21.cubin). The experimental kernel can be used by switching to the Experimental Feature Set: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Experimental_Features This enables Subsurface Scattering and Correlated Multi Jitter Sampling on GPU, while keeping the stability and performance of the regular kernel. Differential Revision: https://developer.blender.org/D762 Patch by Sergey and myself. Developer / Builder Note: CUDA Toolkit 6.5 is highly recommended for this, also note that building the experimental kernel requires a lot of system memory (~7-8GB).
2014-08-24Cycles: Remove Volume Nodes GPU warning and gray out Sampling Method button ↵Thomas Dinges
when using GPU.
2014-08-22Fix missing tag for detecting changes with bpy.data.node_groups[...].is_updated.Brecht Van Lommel
2014-08-12Freestyle: code cleanup.Tamito Kajiyama
Marked a function argument with UNUSED() and removed an unused local variable. Patch provided by Sergey Sharybin.
2014-08-12Freestyle: Fix for git merge glitches.Tamito Kajiyama
Also made minor code cleanup.
2014-08-12Freestyle: Added new UV Along Stroke shader node.Tamito Kajiyama
2014-08-12Freestyle: Added "blend_type" and "use_clamp" options to the Output Line ↵Tamito Kajiyama
Style shader node.
2014-08-12Freestyle: Add BKE_linestyle_default_shader() for creating the default line ↵Tamito Kajiyama
style shader node tree. Changes to ED_node_shader_default() were reverted since the code there was actually not suitable for setting up the default line style node tree properly.
2014-08-12Changed ntreeCopyTree_ex() to accept a pointer to struct Main.Tamito Kajiyama
2014-08-12Added new Output Line Style shader node for defining a node-based line material.Tamito Kajiyama
2014-08-12Implemented a basic framework for node-based shaders.Tamito Kajiyama
Shader nodes will be used to define materials for stroke rendering, so as to allow users to interactively configure textures.
2014-07-26New compositor node "Sun Beams"Lukas Tönne
This allows adding a "fake" sun beam effect, simulating crepuscular rays from light being scattered in a medium like the atmosphere or deep water. Such effects can be created also by renderers using volumetric lighting, but the compositor feature is a lot cheaper and is independent from 3D rendering. This makes it ideally suited for motion graphics. The implementation uses am optimized accumulation method for gathering color values along a line segment. The inner buffer loop uses fixed offset increments to avoid unnecessary multiplications and avoids variables by using compile-time specialization (see inline comments for further details).
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-05Fix uninitialized bool in recent own 'sode_select_groupe' commit.Bastien Montagne
Found by CoverityScan.
2014-07-04Refactor of Node's 'Select by type' op, to also handle color and name handling.Bastien Montagne
Ne op is similar to other 'Select Grouped' ones in Blender. Based on patch D288 by Cruentus_Nex (Steve). Reviewed by Campbell Barton, thanks! Revision: D288.
2014-06-30Experiment with the compositor border in editorSergey Sharybin
Preserve buffer form previous runs so it's possible to make a compo of full frame, then draw a border and start tweaking nodes and see updates in that border. Main idea is to make it able to visually compare difference between what was changed inside the border and how frame looked before the tweaks outside of the border. Also implemented Clear Viewer Border in compositor, shortcut it Ctrl-Alt-B. Reviewers: lukastoenne, jbakker CC: venomgfx, sebastian_k Differential Revision: https://developer.blender.org/D582
2014-06-30Fix T40885: "Reset Curve" is backwards on Custom Falloff Curves (Lights).Bastien Montagne
Add ability to define negative slope by default to curvemapping template...
2014-06-22WM: set circle select minimum radius to 1Campbell Barton
2014-06-14UI: Add support for popups to refresh their layput (D578)Campbell Barton
This is needed for popups to chance state once activated, currently it makes use of operators `check` callback, after values are modified, as the file selector does already.
2014-06-14Cycles: Ashikhmin-Shirley anisotropic BSDFKarsten Schwenk
* Ashikhmin-Shirley anisotropic BSDF was added as closure * Anisotropic BSDF node now has two distributions Reviewers: brecht, dingto Differential Revision: https://developer.blender.org/D549
2014-06-13Code cleanup: use ED_gpencil_ prefix for grease pencilCampbell Barton
2014-06-12Fix T40596: Node link menus flipped & events invertedCampbell Barton
2014-05-23Some operation allowed to set invalid active scene render layerSergey Sharybin
Forbid this now and do tricks in the versioning code to repair corrupted files. Thanks to Pablo, Caminandes and Koro for discovering this bug!
2014-05-19Correct ARRAY_SIZE macro and make doxy comments consistentCampbell Barton
2014-05-13Tweak for node socket swapping: don't un-hide sockets automatically.Lukas Tönne
This was suggested by @zanqdo on IRC. Hiding sockets is a user choice (not to be confused with "unavailable" disabled sockets). Hidden sockets suddenly popping up when linking is confusing and intransparent, better just ignore them for the swapping.
2014-05-09Fix T40094 Faulty resizing behavior of frame node.Lukas Tönne
Frame nodes still have the "hidden" flag like all other nodes, but this has to be ignored during resizing. width/height range for the frame nodes must be unlimited for this to work correctly.
2014-05-03Patch D246: Texture Marks for freestyle strokes, written and contributed by ↵Tamito Kajiyama
Paolo Acampora. Reviewers: brecht, kjym3, #freestyle Reviewed By: brecht, kjym3 Differential Revision: https://developer.blender.org/D246
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Fix T38245: Render slot buffer gets deleted in compositor when input is an imageSergey Sharybin
This was more like a TODO than a bug, but wasn't difficult to support. Need to backup image slots before doing re-compo in nodes editor. If something breaks, lease poke me!
2014-04-29Code cleanup: quiet warningsCampbell Barton
2014-04-29Reimplemented the earlier feature of swapping existing links toLukas Tönne
neighboring sockets when connecting to an occupied input. This now works based on socket names rather than types, which helps to avoid unwanted connections to arbitrary sockets. Sockets are considered swappable when their names match, based on an alphabetic prefix followed by non-alphabetic suffix. For example: Image - Image : matches Color1 - Color2 : matches (used e.g. in cycles mix nodes) Roughness - Rotation : does not match (suffix is still alphabetic)
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-21Code cleanup: view2d api namingCampbell Barton
2014-04-21View2d: check UI_view2d_view_to_region_clip succeeds before using the resultCampbell Barton