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
2018-02-19Cleanup: sync vertex-paint and sculpt from 2.8Campbell Barton
Sync API changes from 2.8 to master.
2018-02-18Cleanup: add 2d suffix to BLI filesCampbell Barton
Some of these API's can have 3D versions, explicitly name them 2D.
2018-02-15Cleanup: rename BLI_thread.h APICampbell Barton
- Use BLI_threadpool_ prefix for (deprecated) thread/listbase API. - Use BLI_thread as prefix for other functions. See P614 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: use '_len' instead of '_size' w/ BLI APICampbell Barton
- When returning the number of items in a collection use BLI_*_len() - Keep _size() for size in bytes. - Keep _count() for data structures that don't store length (hint this isn't a simple getter). See P611 to apply instead of manually resolving conflicts.
2018-02-15Cleanup: Style, braces with macrosSergey Sharybin
See https://wiki.blender.org/index.php/Dev:Doc/Code_Style#Braces_with_Macros
2018-02-15Cleanup: Remove BLI_ prefix from listbase macroSergey Sharybin
This is kind of doesn't matter where macro itself is defined. We should stick to the following: - If some macro is actually more an inline function, follow regular function name conventions. - If macro is a macro, type it in capitals. Use module prefix if that helps readability or it if helps avoiding accidents.
2018-02-15Simple hair children: Initial implementation of twist controlSergey Sharybin
It allows to have children hair to be twisted around parent curve, which is quite an essential feature when creating hair braids. There are currently two controls: - Number of turns around parent children. - Influence curve, which allows to modify "twistness" along the strand.
2018-02-13Add ED_object_editmode_exit_exCampbell Barton
Allow exiting editmode from non-active scene.
2018-02-12Fix part of T53080: don't use current scene world for icon previews.Brecht Van Lommel
This can be very slow if it contains a big texture, and it's not necessarily setup in a useful way anyway, and materials can be used in multiple scenes.
2018-02-12Error in last commit, disable cycles when not enabledCampbell Barton
Would only disable when loading old preferences.
2018-02-12Disable cycles when WITH_CYCLES=OFFCampbell Barton
2018-02-12BKE_addon: new/free/ensure functionsCampbell Barton
2018-02-09Cycles: add random walk subsurface scattering to Principled BSDF.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3054
2018-02-09Fix (unreported) crash when duplicating a FileBrowser window in preview draw ↵Bastien Montagne
mode. We did not clear preview or smoothscroll timers pointers in copy code...
2018-02-09CMake: include missing headersCampbell Barton
2018-02-09Fix T53958: Sequencer zoom 1:1 failsCampbell Barton
2018-02-09Fix T53347: Vertex paint crashCampbell Barton
Vertex paint was still using sculpt mode brush (which can be NULL).
2018-02-08Dopesheet: Synchronize selection on bones when selecting everythingSergey Sharybin
This is also how box selection and mouse selection is working. Requested by Hjalti, reviewed by Joshua. Thanks!
2018-02-08Fail gracefully when editmode data doesn't existCampbell Barton
Sync changes from 2.8
2018-02-07Cleanup: add _types.h suffix to DNA headersCampbell Barton
2018-02-06DNA: move eObjectMode into own headerCampbell Barton
Add a enum headers to DNA, to be included in other headers so function signatures can use enums for better type safety. Add DNA_*_enums.h matching DNA_*.types.h as needed.
2018-02-05Minor change to last commitCampbell Barton
Keep mode checks simple, nest other checks in their body.
2018-02-05Fix T53986: Crash saving during sculpt strokeCampbell Barton
Also remove unused struct member.
2018-02-03Cycles: add Vector Displacement node and extend Displacement node.Brecht Van Lommel
This adds midlevel and object/world space for displacement, and a vector displacement node with tangent/object/world space, midlevel and scale. Note that tangent space vector displacement still is not exactly compatible with maps created by other software, this will require changes to the tangent computation. Differential Revision: https://developer.blender.org/D1734
2018-02-02Cleanup: wrap function argsCampbell Barton
2018-02-01Fix T53686: VSE Render crash when zooming timelineSergey Sharybin
This is rather a workaround to avoid main thread freeing all glyph caches at the same time as sequencer uses fonts to draw text sequences. Ideally we need to either make cache more local, or user-counted or to make somewhat more global locks. All this ends up in a bigger refactor which is better for 2.8. For the meantime let's make Blender more stable with a tiny workaround. Downside is that keeping zooming things up and down in interface during render will increase memory usage by unused glyph caches. It's not too bad though, all unused caches will be freed first time at area zoom after render. Thanks Bastien for review!
2018-02-01Cleanup: rename BLI_*_empty() -> clear()Campbell Barton
Consistent with other BLI API's
2018-01-30Fix T52520: Metaballs in edit mode causes infinite Cycles viewport resetSergey Sharybin
The issue was introduced by eb016eb as a fix for T41258, which added depsgraph tagging with zero flag. The comment was saying that it's to make derived caches to be updated, however bot sure how that could possibly work: tagging ID for update with 0 flag only sets updated tags in bmain in old dependency graph. In the new depsgraph, where object data is a part of depsgraph, doing such a tag forces object to be updated, which re-triggers viewport rendering, which is causing such an infinite viewport render rest. Can not reproduce any crashes here, so maybe it's fine to move on with this change.
2018-01-30Cleanup: warning, spellingCampbell Barton
2018-01-30Fix T53943: Weight paint crash in new sceneCampbell Barton
2018-01-293D View: use_mouse_init for zoom & trackball orbitCampbell Barton
2018-01-29Cleanup: move boolean options into flagCampbell Barton
- Rename eViewOpsOrbit to eViewOpsFlag since VIEWOPS_ORBIT_DEPTH isn't just used for orbiting. - Move use_ensure_persp & use_mouse_init into the flag. - Remove viewops_data_create_ex.
2018-01-29Fix T53909: Joining armatures did not remap names on merged action dataJoshua Leung
Technically this was not a bug, as this functionality was not meant to work. (Drivers were already handled though, as they are part of the rig) It was assumed that there was little value in having this functionality available, as in most pipelines, animation production only begins after the rig has been locked down (see bug report comments for more details). On reflection, in most common situations, there's probably no harm in doing these rna path fixups. This commit takes advantage of some similar code I recently put in place in the Grease Pencil branch (for joining GP objects and their layers). Important Note for Animators/Riggers/TD's: Please be aware that after joining armatures, some of the animation may still need to be redone (due to changes in the transform hierarchies/ transform spaces that the animation is applied in). We do not attempt to correct for these problems, and it is unlikely that we will in future.
2018-01-29Apply Pose as Rest Pose: Bendy Bone supportJoshua Leung
The "Apply Pose as Rest Pose" operator now affects Bendy Bone settings too, making it possible to use interactive posing tools (e.g. Pose Sculpting brushes) to get the desired shape for the rest-pose shape of Bendy Bones. When such posing tools are available, this change makes it easier to get the desired Bendy Bone shapes, as you are no longer restricted to using buttons to get the desired effects.
2018-01-29Cleanup: rename user preference flagsCampbell Barton
USER_ZBUF_ORBIT -> USER_DEPTH_NAVIGATE The name didn't make sense since it's used for all view navigation. Also rename USER_ZBUF_CURSOR -> USER_DEPTH_CURSOR since zbuf is an internal detail.
2018-01-29Cleanup: comments & whitespaceCampbell Barton
2018-01-29Cleanup: ViewOpsData struct membersCampbell Barton
- Group initial/previous/current members Was using terms old/prev/last/orig in confusing way. - Replace x,y variables with vectors. - Remove unused members.
2018-01-293D View: internal option not to use mouse locationCampbell Barton
When accessing view-port operators from widgets we need the ability not to use auto-depth or zoom-to-mouse. Trackball rotation still needs to be supported.
2018-01-29Cleanup: minor simplification for zoom/dollyCampbell Barton
Make args more consistent.
2018-01-29Cleanup: de-duplicate common 3D view propertiesCampbell Barton
2018-01-28Usual i18n/UI messages fixes.Bastien Montagne
2018-01-28Cleanup: style, spellingCampbell Barton
2018-01-28Cleanup: use doxy sections for view3d_view.cCampbell Barton
Also move ..._needs_opengl functions into view3d_utils.c
2018-01-28Cleanup: move 3D view utilities into own fileCampbell Barton
Operators and utility functions were getting too mixed up, the files were also quite large.
2018-01-26Fix harmlness RNA warning in image texture node drawing.Brecht Van Lommel
2018-01-26Fix navmesh creation w/ multiple objectsCampbell Barton
D2976 by @dertom
2018-01-25Fix missing broken notifiersDalai Felinto
We can't have more than one NOTE_SUBTYPE in the same notifier. Instead of calling both subtypes the code end up not calling either.
2018-01-25Fix T50967: When you move an icon from the outliner area object doesn't show upDalai Felinto
We can't have more than one NOTE_SUBTYPE in the same notifier. This is a partial revert of: cd4d5dcb468a. In particular to the part concerning "Also fixed a missing notifier of the object instancing operator". Not only this was mixed with the original reason for the commit for no reason, but it actually introduced a bug. Bad, bad developers ;) Note: Although this commit is not needed for master, blender2.8 requires it for the forementioned bug report.
2018-01-25WM: NULL check for recent tooltip changeCampbell Barton
Caused crash dragging boolean buttons.
2018-01-25UI: change tool-tips to be stored in the screenCampbell Barton
Move timer and tip out of button code, now the only requests a tooltip, passing a creation callback to run. Needed for manipulators in 2.8, also helps de-duplicate logic - since we never want multiple tool-tips showing at once.