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-10-13ED_pose_recalculate_paths: Run only for active objectDalai Felinto
New iterator CTX_DATA_BEGIN_FOR_ID, to restrict the loop to the specified object only. This is not super efficient, but it should be fine for now. I will talk to other developers. A more elegant solution would be to have something like "active_object_selected_pose_bones" in the context.
2018-10-12Mesh: remove derivedFinal from various placesCampbell Barton
2018-10-12Cleanup: remove unused derived mesh wrappersCampbell Barton
2018-10-12Mesh: remove derived mesh for nurbs conversionCampbell Barton
2018-10-11Add new parameter to reverse UIList itemsAntonioya
Now, it was possible to invert the order of the UIlist using the filter, but it was impossible to know if the list was inverted or not. The problem with this is that any other element depending of this value could not be adjusted. See https://devtalk.blender.org/t/how-to-access-uilist-properties/2268 The new parameter allows to set the reverse order by default. When the list is set as reverse, it cannot be inverted again, so the invert button is removed of the filter. This change is needed to fix a requested feature for Grease Pencil (T56985) and because a lot of 2D softwares use the drawing layers in the inverse order used in Blender.
2018-10-11Cleanup: make BKE_mesh_ensure_normals_for_display publicCampbell Barton
2018-10-11RNA: remove redundant new_from_object/to_mesh argCampbell Barton
If the caller wants loop-tris, there is a function to calculate them.
2018-10-11Cleanup: mesh iteratorsCampbell Barton
- Split indexed/non-indexed into separate loops. - Avoid assigning the same value in the loop. - Use const variables.
2018-10-11Remove image based bitmap font supportCampbell Barton
Was used in the game engine and is no longer used.
2018-10-11Merge branch 'master' into blender2.8Campbell Barton
2018-10-11Cleanup: style (pointers)Campbell Barton
2018-10-11Cleanup: indentationCampbell Barton
2018-10-10Python API: add loop triangles access, remove tessfaces.Brecht Van Lommel
Loop triangles are tessellated triangles create from polygons, for renderers or exporters that need to match Blender's polygon tesselation exactly. These are a read-only runtime cache. Tessfaces are a legacy data structure from before Blender supported n-gons, and were already mostly removed from the C code. Details on porting code to loop triangles is in the release notes. Differential Revision: https://developer.blender.org/D3539
2018-10-10Modifier: Fix cage option for deform modifiersCampbell Barton
Show-on-cage and show-in-editmode options now work as it did in 2.7x (but only for deformation).
2018-10-10Fix modifier cage option being overwrittenCampbell Barton
Editmesh modifier calculation behaved as if eModifierMode_OnCage was enabled for all modifiers. Remove assignment after all modifiers are calculated.
2018-10-10Cleanup: namingCampbell Barton
2018-10-10Correct bad statvis default in recent commitCampbell Barton
2018-10-10Cleanup: namingCampbell Barton
- mesh_calc_modifiers & editbmesh_calc_modifiers now follow similar naming. - me and mesh were too easily confused in mesh_calc_modifiers (remove 'me', access ob->data).
2018-10-10Cleanup: add back add_shapekey_layers to modifier stackCampbell Barton
Looks like this might not be used, add back just in case.
2018-10-10Cleanup: uncomment statvis calculation (still disabled)Campbell Barton
2018-10-10Modifier: use simplified bmesh -> mesh conversionCampbell Barton
2018-10-10BMesh: simple bmesh -> mesh for evaluationCampbell Barton
Copied from CDDM_from_bmesh, the modifier stack doesn't need to handle shape keys, vertex parents or selection history (needed for mode switching).
2018-10-10Modifier: remove derived-mesh for sculpt crazy-spaceCampbell Barton
2018-10-09GP: Improve center object in viewport when press .Antonioya
Before when press . (view_select) the object was centered at the dummy, but now it's centered with the strokes bounding box size. Also fixed some problems in edit mode when the object origin was not in view origin.
2018-10-09Fix for assert when sampling color to non-existent paletteDalai Felinto
2018-10-09Fix Weight Paint display with Subdivision Surface modifier.Alexander Gavrilov
The flag used to be set by the now removed old weight paint coloring code.
2018-10-09Workbench: Smoke: Add support for Color Mappping for smoke debuggingClément Foucault
2018-10-09Fix crash in T56064: Blender crashes on selecting text-object.Bastien Montagne
The root of the issue remains though, see T56172, this is just a quick bandaid to stop crashing on it, until we find a proper solution.
2018-10-09Edit Mesh: replace DerivedMesh w/ MeshCampbell Barton
DerivedMesh is now removed from edit-mesh modifier evaluation.
2018-10-09Cleanup: namingCampbell Barton
Use BKE_mesh_* prefix for mesh module.
2018-10-09Cleanup: remove unused EditDerivedBMeshCampbell Barton
2018-10-09Edit Mesh: remove derived-mesh from crazy-space calculationCampbell Barton
2018-10-09Modifier: move edit-mesh calculation from DerivedMesh to MeshCampbell Barton
2018-10-09Modifier: add non derived mesh modifier wrappersCampbell Barton
Rename modifier_deformVerts_ensure_normals & modifier_applyModifier_ensure_normals with wrappers that match 2.7x convention.
2018-10-09Cleanup: namingCampbell Barton
Rename DerivedMesh modifier functions to make room for mesh versions.
2018-10-08UI: add icon color coding for different data types in the outliner.Brecht Van Lommel
For now we have categories collection, object, object data, modifiers & constraints, and shading. The icons can be categorized by adding e.g. DEF_ICON_OBJECT() in UI_icons.h. Light themes will need to be updated to use darker colors to keep icons visible in the outliner.
2018-10-08Workbench: Smoke: Fix displayClément Foucault
Includes the following fixes - Fix smoke texture creation: data was interpreted as Byte instead of Floats. - Fix Velocity texture not being free after draw: also was causing crashes. - Fix display_thickness not being copied during COW. - Fix Blending and general volume rendering algorithm. - Add Volume Shadowing support.
2018-10-08Edit Mesh: basic show in edit mode supportCampbell Barton
Note this is just using the derived-mesh data at the moment, to support this properly we'll need to remove derived-mesh.
2018-10-08Cleanup: extract cache calculation from derived-meshCampbell Barton
2018-10-08Cleanup: use DRW_object_is_* for object checksCampbell Barton
Also use const qualifier for object's.
2018-10-06Vertex Paint: support switching to secondary color temporarily holding CtrlPhilipp Oeser
while it is possible to permanently flip the colors using the 'X' button, this makes it consistent with Texture Paint. fixes T56994 Reviewers: campbellbarton, brecht Reviewed By: brecht Subscribers: JulienKaspar Tags: #sculpting_and_painting Maniphest Tasks: T56994 Differential Revision: https://developer.blender.org/D3753
2018-10-05Add and use a utility for computing B-Bone roll from custom handles.Alexander Gavrilov
This also fixes a stability problem with the start handle due to an incorrect matrix multiplication order.
2018-10-05Add a new B-Bone Custom Handle type that uses the handle bone direction.Alexander Gavrilov
Both original handle types are based on location, and Absolute uses it in a weird way: the Start handle uses the head, while End uses the tail. This makes controlling the shape of the B-Bone via control bone rotation really non-intuitive, especially if trying to add a single control for the tangent in the middle of a B-Bone chain. To remedy this, add a new custom handle type that uses the orientation of the control bone, while completely ignoring location. It is even possible to control both ends of one B-Bone with the same handle bone, resulting in an S shape. Reviewers: brecht Differential Revision: https://developer.blender.org/D3769
2018-10-05Redefine the Relative custom B-Bone handle type to be more reasonable.Alexander Gavrilov
Specifically, it should always use the position of the custom handle bone head, even when affecting the handle at the tail of the main bone, and shouldn't apply the special handling for joining two B-Bones. This handle type was unusably broken before a bug fix included in recent changes, so it should be safe to break backward compatibility.
2018-10-05GP: Cleanup names and codeAntonioya
2018-10-05Fix invalid flag passed to mesh batch dirty tagCampbell Barton
2018-10-05GP: Move grid parameters to GP object data levelAntonioya
The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects. Also added a color option.
2018-10-04Fix T56268: display the correct rest shape for B-Bones in Edit Mode.Alexander Gavrilov
The rest shape of B-Bones is actually affected by custom handles or the default connected parent/child mechanism. Ignoring these effects thus leads to the edit mode shape being different from the actual rest pose. This splits the b_bone_spline_setup function that is used to compute the correct rest and pose shape from pose channels into two parts, and applies the data structure independent half to edit mode. In order to access the custom handle settings in Edit Mode, they are moved to Bone and EditBone, while the bPoseChannel fields are downgraded in status to a cache for performance. Also, instead of flags, introduce an enum to specify the handle operation modes, so that new ones could be added later. Reviewers: aligorith, brecht Differential Revision: https://developer.blender.org/D3588
2018-10-04Move B-Bone custom handle settings to Edit mode.Alexander Gavrilov
Custom handle settings actually affect the B-Bone rest shape, so they should be changed in Edit mode rather than Pose mode. This is necessary to be able to display the correct rest shape of the bone in Edit Mode. Also, instead of flags, introduce an enum to specify the handle operation modes, so that new ones could be added later. Differential Revision: https://developer.blender.org/D3588
2018-10-04Units: Change '1000 Kilograms' to 'Tonnes'Jacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D3766