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
path: root/source
AgeCommit message (Collapse)Author
2019-05-15Tool System: avoid redundant refreshCampbell Barton
Workspaces refreshes tools multiple times when used by multiple windows. Also improve comments.
2019-05-15Cleanup: use doxy sections for workspaceCampbell Barton
Also move function in wrong category.
2019-05-15Outliner Tooltips Cleanup: Retrict/Allow > Restrict ; set/unset > setDalai Felinto
2019-05-15T64020: Outliner - implement Shift + Click for objects as wellDalai Felinto
2019-05-15Fix T64623: Freestyle procedural noise not consistent across platformsBrecht Van Lommel
Use the Blender RNG instead of rand() to solve it.
2019-05-15Code style cleanup: `make format`Dalai Felinto
2019-05-15Outliner Restriction: Naming sanitization and iconDalai Felinto
No major API change here, only in the outliner restriction column variables (e.g., show_restrict_column_selectable > show_restrict_column_select). * Get rid of _INSTANCE (introduced on b1af68200159). * Differentiate (everywhere but the API) between HIDE (temporary) and VIEWPORT (global). * Use the expected icon for restrict viewport (same as objects and modifiers). * selectable > select
2019-05-14T64607: Outliner UI TooltipsDalai Felinto
In the outliner we don't have yet a clear distinction for the users of when to use each of the visibility settings. This changes that by properly naming the property and their tooltips. I'm also unifying the naming between the rna properties and the outliner for collections and objects (e.g., so collection and object hide_select have the same tooltips everywhere). The API did not change.
2019-05-14Fix T64611: Bone Size property is not copied when a bone is copiedPhilipp Oeser
2019-05-14Depsgraph: dependency on B-Bone start handle end roll when inheriting it.Alexander Gavrilov
Specifically the dependency is on any drivers that may be affecting the RNA property of the handle bone, which currently link to segments.
2019-05-14Armature: implement universal hash table lookup of Bone objects by name.Alexander Gavrilov
Since drivers on Bone properties are really supposed to be stored in Armature data and access bones via its bones[] collection, this lookup path should work efficiently. Mass lookup of bones by name was already done through hashes, but they were built temporarily every time that was needed. This simply replaces it with a common hash table computed immediately after file load, copy, or Edit to Object mode switch.
2019-05-14Eevee: Fix volumetric shaders compilation errorClément Foucault
2019-05-14Fix T64455 Texture extension mode 'clip' defaults to 'extend'Clément Foucault
2019-05-14Cleanup: isolate image dirty flag access in functionsBrecht Van Lommel
2019-05-14Fix T64514: wrong grease pencil icon preview rendersBrecht Van Lommel
This broken when the new Cycles/Eevee preview scene was added, make it work the same as before for Grease Pencil now.
2019-05-14GPencil: Rename property Follow Drawing Path to AlignmentAntonioya
The old name was not clear and with new options the new name is more easy to understand.
2019-05-14Fix T64551 Crash on leaving local view on the shading tabClément Foucault
Was causing by garbage collection free the surf_per_mat_tris array. The cache validate did not take care of ensuring the array was alloc again.
2019-05-14Fix Shader compilation error on MacOS & some other platform/driverClément Foucault
texture2D() is no longer supported by modern opengl, use texture() instead.
2019-05-14Fix T64601 Error division by zero in GPUVertexFormatClément Foucault
The windows compiler use signed int by default for enums so that broke the bit count I carefully did. Forcing uint fixes it.
2019-05-14Fix T63994: Node Editor: Move All Selected Nodes when dragging.Bastien Montagne
Left-click select broke that behavior, since it puts both action and select buttons on the same physical mouse button... To support this behavior again, we have to split selection process in two steps, hence make it modal... While I remain rather skeptical about that global design decision, and complexity it adds to many UI/UX areas, this solution ends up being OK-ish I think. Thanks to @brecht for some final tweaks on the patch.
2019-05-14Interface: Free argument callback for popupsJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4858
2019-05-14UI: Improve naming for Collections Enable/DisableWilliam Reynish
- Fix 'ddisable' typo - Use clearer names for the operators in the Collections context menu Instead of Set Exclude / Clear Exclude, we now use Enable in View Layer / Disable from View Layer
2019-05-14GPU: Windows+Intel Selection FixJeroen Bakker
On Windows 10 with a post Februari 2019 Intel driver, the box selection is not working. It only detects the object centers, but not the drawn triangles of the basic engine. Reviewed By: fclem Maniphest Tasks: T62947 Differential Revision: https://developer.blender.org/D4857
2019-05-14UI: Confirm dialog when closing an unsaved fileJacques Lucke
The complexity in this patch comes from the fact that the current operator system does not support multi-step user interactions well. More specifically, for this to work, we need to show a confirm dialog and a file browser afterwards. We decided that it is easier to keep everything in a single operator, instead of creating separate operators that invoke each other. So, now the `WM_OT_open_mainfile` operator invokes itself in different states. It implements a simple finite state machine to manage the states. The dialog itself is expected to be improved in a future commit. See D4829 for more details. Reviewers: brecht Differential Revision: https://developer.blender.org/D4829
2019-05-14Fix zfighting from edit mode face overlaysClément Foucault
2019-05-14Fix T64574 : Weird shadow mesh glitches in viewportClément Foucault
This is not the most clean but this is what is needed to make point_object_to_ndc equivalent to point_object_to_world + point_world_to_ndc
2019-05-14Fix T64574 : Weird shadow mesh glitches in viewportClément Foucault
This is not the most clean but this is what is needed to make point_object_to_ndc equivalent to point_object_to_world + point_world_to_ndc
2019-05-14GPU: Fixup and add assert to GPU_VERT_ATTR_NAMES_BUF_LENClément Foucault
2019-05-14Eevee: Fix Auto Tangent not working if active UV layer is greater than 3Clément Foucault
2019-05-14Fix T64592: Assign Shortcut does not autosave preferencesBrecht Van Lommel
2019-05-14Fix T63542: Imported FBX doesn't show keyframes in Shape Key editor.Bastien Montagne
While shapekeys RNA path handling does support keyblocks (ShapeKeys) with an `id_data` wrongly set to the geometry instead of the shapkey, this is really not something to promote. ideally it should be removed at some point. At least, let's not generate such RNA pointer if we can avoid it. Here it was breaking proper showing of animated shapekeys in the UI, since this expects animated datablocks to have their own animation data (and 'rooting' keyblocks to their mesh instead of their shapekey ended up defining their animation in the mesh, not in the shapekey).
2019-05-14Screen: replace show footer operator with propertyCampbell Barton
This matches 'show header' internal logic.
2019-05-14Cleanup: sort struct declarationsCampbell Barton
2019-05-14Cleanup: quiet warningCampbell Barton
2019-05-14Fix T64441: GPencil textures weird rotationAntonioya
New option to disable the follow drawing path. Before it had only a switch property, now there is a list of options. Modes: Path: Follows drawing stroke and rotate with object. Object: Only follows object rotation. None: Don't rotate.
2019-05-14Cleanup: rename ED_scrubbing.h to ED_time_scrub_ui.hJacques Lucke
Also renames the corresponding .c file.
2019-05-14RNA: fix the id_data pointer of PoseBone.bone to point at the Armature.Alexander Gavrilov
The owning ID reference of RNA pointers is supposed to point at the ID container that owns the object, but for PoseBone.bone it wasn't updated to point at the Armature data ID instead of Armature Object. This caused issues, like pose_bone.bone.driver_add() adding the driver to the Armature Object animation data, which violates the intended design of the animation data structures. Since RNA code generally assumes that all pointers that don't refer directly to an ID remain within the current ID, a custom getter is required to fix this.
2019-05-14Depsgraph: detect bbone_segments drivers from Object animation data.Alexander Gavrilov
2019-05-14Cleanup: DRW: Move ModelMatrix declaration to common_view_libClément Foucault
2019-05-14GPUVertexFormat: Reduce size of structsClément Foucault
With this patch, the size of GPUVertFormat goes from 1240 to 388.
2019-05-14Cleanup: DRW: Add and use DRW_shgroup_uniform_vec2_copyClément Foucault
2019-05-14Cleanup: DRW: Remove unused Uniform typesClément Foucault
2019-05-14Cleanup: DRW: Remove uneeded _add suffix from DRW_shgroup_call_addClément Foucault
2019-05-14DRW: Refactor: Use DRWCall to accumulate per instance attributesClément Foucault
This is a big change that cleanup a lot of confusing code. - The instancing/batching data buffer distribution in draw_instance_data.c. - The selection & drawing code in draw_manager_exec.c - Prety much every non-meshes object drawing (object_mode.c). Most of the changes are just renaming but there still a chance a typo might have sneek through. The Batching/Instancing Shading groups are replace by DRWCallBuffers. This is cleaner and conceptually more in line with what a DRWShadingGroup should be. There is still some little confusion in draw_common.c where some function takes shgroup as input and some don't.
2019-05-14GPU: Add GPU_vertbuf_discard and GPU_BATCH_UNUSEDClément Foucault
GPU_vertbuf_discard to clear buffer containers in place. GPU_BATCH_UNUSED to tag batch that are cleared and not immediatly usable.
2019-05-14BLI_memblock: Add more optionsClément Foucault
- Use int instead of uint for safety and less conversions. - Add free callback - Add cleared alloc option
2019-05-14Cleanup: Remove DRWCallTypeClément Foucault
This simplify the rendering logic.
2019-05-14DRW: Fix threading hazard when rendering and using auto depthClément Foucault
2019-05-14Cleanup: DRW: Remove unused functionsClément Foucault
2019-05-14DRW: Change Procedural function to use a GPUBatchClément Foucault
This is in order to have VAO handled by thoses batches instead of using a common VAO. Even if the VAO has no importance in these case using a batch will help when transitioning to Vulkan.