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
2019-01-08Fix inconsistent naming and behavior for base visible/selected/editable.Brecht Van Lommel
Fixes T60251.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
2019-01-02Fix (unreported): unpredictable crashes when it is done snap after automerge.mano-wii
The `em->tottri` of an evaluated object can be different from the actual amount of looptris.
2018-12-19Fix T59237: Instancing on a path doesn't do anythingSergey Sharybin
This commit makes it so curve path parent solving accepts an explicit arguments for both time and curve speed flag, making it so we don't have to mock around with scene's frame. One unfortunate issue still is that if the instancing object is used for something else, we might be running into a threading conflict. Possible solution would be to create a temp copy of an object, but then it will be an issue of preventing drivers from modifying other datablocks. At least the original issue is fixed now, and things behave same as in older Blender version. Additionally, the global variable which was defining curve speed flag behavior is gone now!
2018-12-12Docs: correct doxy commentsCampbell Barton
2018-12-07Cleanup: styleCampbell Barton
2018-12-01Cleanup: redundant NULL checksCampbell Barton
Also use unsigned shifting for values not in int range.
2018-11-27transform_snap_object: Fix snap in edit mode.mano-wii
Do not use the texture space of a mesh to pretest the snap. (The texture space is only really updated when you exit edit mode).
2018-11-26transform_snap_object: fix ray_start_correction in snap to edit_mesh.mano-wii
2018-11-26Fix T56167: Crash when extruding + snap to face.mano-wii
This is a local fix. The problem with duplicate looptris still remains. That is, it can still be released in one place but not upgraded in the other. (note: setting the looptris to NULL in the evaluated mesh and assert whether it is still NULL when the mesh is freed could indicate where those cases are).
2018-11-26Fix T58027: Scene.ray_cast crashCampbell Barton
Reintroduce BASE_VISIBLE_BGMODE D3987 by @Soundwave
2018-11-23Pass viewport to BASE_ related tests, for viewport view/select restrictionsDalai Felinto
Note: functions like select all are still not respecting that. I will fix this as part of the local view commit though.
2018-11-21Cleanup: warningsCampbell Barton
2018-11-21transform_snap_object: Use the texture space bound box to test the need to ↵mano-wii
snap to meshes in edit mode. Before a value for bound box was stored in a local cache.
2018-11-21transform_snap_object: Fix snap to curves.mano-wii
Use `BKE_curve_texspace_get` instead `BKE_curve_boundbox_get`. The snap to curve, even out of edit mode, is not done on the displist. So test a boundbox that covers the points seens in edit mode.
2018-11-03Transform Snap: Refactoring to avoid duplicate code.mano-wii
2018-11-01Fix T57540: 3D Cursor snap in editing mode ignoring changed geometry.mano-wii
2018-10-11Cleanup: indentationCampbell Barton
2018-10-09Fix T55202: 3D Cursor Snapping not working correctly in Edit Mode.mano-wii
Use `mesh_eval_final` in this case.
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-26Wireframe/Xray: Make Xray option local to wireframe modeClément Foucault
This commit make the Xray option for the wireframe different from the other shading mode. This makes it possible to rapidly switch between wireframe + Xray and Solid mode without Xray. Xray alpha is also decoupled. Both variables are duplicated and exposed separately through RNA.
2018-09-24Cleanup: styleCampbell Barton
2018-09-21Edit Mode: Merge Xray and "Limit selection to visible" options behaviourClément Foucault
We now treat Xray as being the mode where Limit selection to visible is off. If Xray is OFF, Limit selection to visible is considered ON. To allow 'see through wires' with solid shading (not Xray shading) we still draw solid shading if Xray is ON with Xray Alpha set to 1.0.
2018-09-20Cleanup: renaming missed from mergeCampbell Barton
2018-09-20Cleanup: rename 3D view ray calculation functionsCampbell Barton
Using near far and optionally clipping planes is involved and not needed in many cases. Rename so a simpler version of this function can be added.
2018-08-27transform_snap_object: Add a small offset to the clip planemano-wii
This prioritizes the vertex and edge snap over raycast.
2018-07-31Cleanup: style, duplicate includesCampbell Barton
2018-07-31New Grease Pencil object for 2D animationAntonioya
This commit merge the full development done in greasepencil-object branch and include mainly the following features. - New grease pencil object. - New drawing engine. - New grease pencil modes Draw/Sculpt/Edit and Weight Paint. - New brushes for grease pencil. - New modifiers for grease pencil. - New shaders FX. - New material system (replace old palettes and colors). - Split of annotations (old grease pencil) and new grease pencil object. - UI adapted to blender 2.8. You can get more info here: https://code.blender.org/2017/12/drawing-2d-animation-in-blender-2-8/ https://code.blender.org/2018/07/grease-pencil-status-update/ This is the result of nearly two years of development and I want thanks firstly the other members of the grease pencil team: Daniel M. Lara, Matias Mendiola and Joshua Leung for their support, ideas and to keep working in the project all the time, without them this project had been impossible. Also, I want thanks other Blender developers for their help, advices and to be there always to help me, and specially to Clément Foucault, Dalai Felinto, Pablo Vázquez and Campbell Barton.
2018-07-26Fix assert in snapEditMesh.mano-wii
2018-07-26Cleanup: unused argsCampbell Barton
2018-07-25Fix mistake in fix for T55798Campbell Barton
2018-07-25Correction on the last commit.Germano
2018-07-25Fix base->flag and base->flag_legacy: The flags of the Transform operator ↵Germano
are being added to the bases of the not evaluated view_layer. But I'm not sure if the flags `BA_WAS_SEL`,` BASE_SELECTED` and `BA_SNAP_FIX_DEPS_FIASCO`(lol XD) should be added to the bases of the not evaluated `view_layer`. This needs to be discussed.
2018-07-25Fix T55798: Crash when snapping objects with data recalculated by modifiers.Germano
Although the default behavior is for these objects to be ignored during the snap operation, this should not crash.
2018-07-23transform_snap_object: Better bvhtree creation management for editing ↵Germano
multiple objects. - Use the object referenced in `BMEditMesh` as the `ghash` key to save the bvhtrees in cache; - Create a boundbox around edit_mesh to test the snap before creating bvhtree; - Save the `edit_mesh`s bvhtree in the mesh bvh_cache; This is a part of the D3504.
2018-06-11Cleanup: Moar G.main removal of Hell.Bastien Montagne
This commit actually adds some G.main... but at much, much higher level than the ones it removes, so should still be better ;)
2018-06-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenkernel/BKE_sequencer.h source/blender/blenkernel/intern/sequencer.c source/blender/editors/curve/editcurve_paint.c source/blender/editors/gpencil/gpencil_edit.c source/blender/editors/gpencil/gpencil_paint.c source/blender/editors/gpencil/gpencil_utils.c source/blender/editors/include/ED_object.h source/blender/editors/include/ED_view3d.h source/blender/editors/interface/interface_eyedropper_depth.c source/blender/editors/render/render_opengl.c source/blender/editors/sculpt_paint/paint_image_proj.c source/blender/editors/sculpt_paint/sculpt.c source/blender/editors/space_view3d/drawobject.c source/blender/editors/space_view3d/view3d_draw.c source/blender/editors/space_view3d/view3d_edit.c source/blender/editors/space_view3d/view3d_intern.h source/blender/editors/space_view3d/view3d_select.c source/blender/editors/space_view3d/view3d_utils.c source/blender/editors/transform/transform_conversions.c source/blender/editors/transform/transform_snap.c source/blender/python/intern/gpu_offscreen.c source/blender/windowmanager/intern/wm_files.c
2018-06-05Moved function declarations from BKE_mesh.h → BKE_mesh_runtime.hSybren A. Stüvel
2018-06-02transform_snap_object: Do not use occlusion test when X-Ray is enabled.Germano
2018-05-29Use correct time for curve parent evaluationDalai Felinto
Time should alwaus come from depsgraph, not scene.
2018-05-26Fix error when snapping with occlusion.Germano
Face normal may be facing the wrong side.
2018-05-25ED_transform_snap_object: remove unused bmain parameter in context creation.Germano
2018-05-24Fix crash with snap and project to self.Germano
Apparently the original `edit_btmesh` is being freed and the new one has to be referenced
2018-05-22Transform: Support mixed snap in 3d View.Germano
Allows more than one snap mode to be enabled. So different combinations are possible. Reviewers: campbellbarton Reviewed By: campbellbarton Subscribers: Christopher_Anderssarian, duarteframos Tags: #bf_blender_2.8 Differential Revision: D3400
2018-05-21Transform Snap: Fix normal in the wrong space.Germano
2018-05-18Fix snap with occlusion.Germano
2018-05-18Ruler: Fix mixed snap.Germano
2018-05-18Transform: Improve the hierarchy in the choice of snapped elements in the ↵Germano
mixed snap. To snap to small edges in 3d_view is no longer obfuscated by vertices if then is also enabled.
2018-05-18Cleanup: remove unused function.Germano
2018-05-17Cleanup: Use `ED_view3d_win_to_ray_ex` to get the ray and remove unused ↵Germano
parameter.