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-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-02Cleanup: indentation, namingCampbell Barton
Use rna naming conventions for unit-settings callbacks.
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-11-28Fix T56906: Mesh from Curve not working on curves beveled by curves.Bastien Montagne
Not exactly sure why we did not have cached displist for bevel object here... But anyway, that conversion operation should really happen outside of depsgraph evaluation area, so makes sense to do it as when generating geometry for rendering, imho. Also solves issues like loosing hidden parts of the curve/surface, etc. Still using viewport resolution for curves, though.
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-13Merge branch 'master' into blender2.8Campbell Barton
2018-11-13Cleanup: use lowercase 2d/3d in function namesCampbell Barton
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-03Cleanup: styleCampbell Barton
2018-11-02Small cleanup on curve separation error handlingDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_make_segmentDalai Felinto
And another go at a more complete error handling. I couldn't test all the error throwing cases but hopefully it is all working as expected.
2018-11-02Multi-Objects: CURVE_OT_revealDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_hideDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_switch_directionDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_tilt_clearDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_handle_type_setDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_normals_make_consistentDalai Felinto
2018-11-02Multi-Objects: CURVE_OT_separateDalai Felinto
This is also a first take on trying to handle errors for partial succeeded operators. Handling it all manually for now. For the remaining operators I will use changed_multi to get over with multi-objects. But we can handle their errors in a separate pass.
2018-11-02Multi-Object-Mode: Edit curve toggle cyclicCampbell Barton
D3882 by @zazizizou
2018-10-31Multi-Object-Mode : Edit Curve DecimateCampbell Barton
D3309 by @thornydre
2018-10-31Cleanup: indentationCampbell Barton
2018-10-31Multi-Objects: CURVE_OT_splitDalai Felinto
2018-10-31Fix error checking on curve duplicationDalai Felinto
2018-10-31Cleanup style :|Dalai Felinto
So much for saving time by copying existing patches from phabricator.
2018-10-31Multi-Objects: CURVE_OT_duplicateDalai Felinto
2018-10-30Multi-Objects: CURVE_OT_extrudeDalai Felinto
2018-10-30Multi-Objects: CURVE_OT_spinDalai Felinto
2018-10-30Multi-Objects: CURVE_OT_dissolve_vertsDalai Felinto
2018-10-30Multi-Object EditMode: curve deleteCampbell Barton
D3859 by @zazizizou
2018-10-27Multi-Objects: Curve - select pick, linked and short pathDalai Felinto
I'm following mesh editing to decide when to switch active object, or deselect the other objects. I hope we can keep this all consistent in the end.
2018-10-01Object Join: use 'selected_editable_objects'Campbell Barton
Was using 'selected_editable_bases', which used to save a lookup. This is no longer the case and complicates access from Python which cant yet easily access Bases.
2018-09-26Edit Curves: Fix warnings due to recent changesClément Foucault
2018-09-25Curves: Move draw options to overlaysClément Foucault
This commit add one regression: it is impossible to currently hide handles in the viewport. But this should be fixed in another commit.
2018-09-20Put the Radius property of Curve points under shape key control.Alexander Gavrilov
Since shape keys are stored as raw floating point data, this unfortunately requires changes to all code that works with it. An additional complication is that bezier and nurbs control points have different entry size, and can be mixed in the same object (and hence shape key buffer). Shape key entries are changed from: bezier: float v1[3], v2[3], v3[3], tilt, pad, pad; nurbs: float vec[3], tilt; To: bezier: float v1[3], v2[3], v3[3], tilt, radius, pad; nurbs: float vec[3], tilt, radius, pad; The official shape key element size is changed to 3 floats, with 4 elements for bezier nodes, and 2 for nurbs. This also means that the element count is not equal to the vertex count anymore. While searching for all curve Shape Key code, I also found that BKE_curve_transform_ex and BKE_curve_translate were broken. This can be seen by trying to change the Origin of a Curve with keys. Reviewers: campbellbarton, sergey Differential Revision: https://developer.blender.org/D3676
2018-08-16Merge branch 'master' into blender2.8Bastien Montagne
2018-08-16Fix T56404: Shape keys of the curves with multiple splines go haywire in ↵Bastien Montagne
edit mode. Very dummy mistake (someone forgot to increment one of the variables in one of the loops in that spaghetti nightmare that is nurbs shapekey code), took half an age to spot it... :/
2018-07-30Cleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.Bastien Montagne
Also, fix missing cleanup of Object.runtime when copying Object datablocks!
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-13Tag object/scene for selection update from operatorsSergey Sharybin
Before that depsgraph tagging was done from inside notifier listener in viewport. This had the following issues: - If there are no viewports, selection tag was not done. Causing possible issues when object becomes visible. - Required special trickery to detect which data to tag for update. - Was causing crash when transforming/selecting markers in clip editor. This is because selecting marker needed to poke viewport to redraw, since selected bundles will be displayed differently in viewport.
2018-06-12WM: hide internal operator settingsCampbell Barton
These are set in the interface and aren't useful to show to users. Other minor changes - Rename 'Ruler/Protractor' -> 'Ruler' - Rename Subdivide 'Quad/Tri Mode' -> 'Create N-Gons' (and invert).
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-07Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-06Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/collada/ArmatureExporter.cpp source/blender/collada/ArmatureExporter.h source/blender/collada/DocumentExporter.cpp source/blender/collada/DocumentExporter.h source/blender/collada/SceneExporter.cpp source/blender/collada/SceneExporter.h source/blender/collada/collada.cpp source/blender/collada/collada.h source/blender/editors/armature/armature_edit.c source/blender/editors/armature/editarmature_retarget.c source/blender/editors/armature/pose_transform.c source/blender/editors/include/ED_armature.h source/blender/editors/include/ED_object.h source/blender/editors/include/ED_screen.h source/blender/editors/io/io_collada.c source/blender/editors/object/object_transform.c source/blender/editors/screen/screen_edit.c source/blender/editors/screen/screen_ops.c source/blender/windowmanager/intern/wm.c source/blender/windowmanager/intern/wm_files.c source/blender/windowmanager/intern/wm_window.c source/blenderplayer/bad_level_call_stubs/stubs.c
2018-06-06Cleanup: Nuke moar G.main usages...Bastien Montagne
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-05-25ED_transform_snap_object: remove unused bmain parameter in context creation.Germano