de32dc6b27
Cleanup: rename 3D view ray calculation functions
...
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-09-20 11:47:17 +10:00
a1dda992c0
UI: disable register for insert text
...
Hides redo panel.
2018-09-11 09:20:02 +10:00
Dalai Felinto
b94d34915f
Textbox removal and creation should update text data
2018-09-10 13:41:56 -03:00
fc115e1ab2
Cleanup: remove legacy layer and dupli code.
2018-09-04 16:11:27 +02:00
8c74462f18
Cleanup: move select all/none/invert into template
2018-09-02 21:25:14 +10:00
7c6136b35c
Merge branch 'master' into blender2.8
2018-08-31 13:40:10 +10:00
18d135d05c
Cleanup: rename WM_keymap_find -> WM_keymap_ensure
2018-08-31 13:36:46 +10:00
Dalai Felinto
7527f2317a
Fix Font object: text selection and cursor not updating
2018-08-30 17:49:05 -03:00
0d085790d1
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
2018-08-29 16:25:50 +02:00
Dalai Felinto
613523d5f5
Rename: *_batch_cache_dirty > *_batch_cache_dirty_tag
2018-08-23 10:20:16 -03:00
d1be651c9e
Merge branch 'master' into blender2.8
2018-08-16 15:49:33 +02:00
7a7c579dd9
Fix T56404: Shape keys of the curves with multiple splines go haywire in 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-08-16 15:49:00 +02:00
e88e80a6a0
3D View boarder/lasso select tool options
...
Add tool options to control how select operates (add/sub/set/and/xor).
Note: edit mode armature select still needs to support all options,
this is complicated by how it handles partial end-point selection.
2018-08-15 01:48:55 +10:00
a3b6ae9fb9
Cleanup/Refactor: Move CurveCache runtime data into Object.runtime struct.
...
Also, fix missing cleanup of Object.runtime when copying Object
datablocks!
2018-07-30 16:58:44 +02:00
8cd7828792
GWN: Port to GPU module: Replace GWN prefix by GPU
2018-07-18 11:49:15 +02:00
7b3a18f0aa
Cleanup: moving shading type into View3DShading.
...
So all shading settings are in this struct and can be reused in the OpenGL
render engine.
2018-07-17 14:59:07 +02:00
57ab7daa2a
GPU_matrix: use Blender's naming conventions
...
Thanks to @sergey for review
2018-07-15 15:34:13 +02:00
09431033e9
Cleanup: split GPU_batch
...
Split out presets and utilities for creating batches.
These functions are quite specialized and not related to typical usage.
2018-07-15 10:51:49 +02:00
6d72d3c862
Cleanup: abbreviate unsigned types (editors, wm)
2018-07-08 12:49:36 +02:00
bb9355e703
View3D: Remove v3d->zbuf
...
This is because depth test is set before drawing anything now. There is no
case where we want to draw without depth test that is not selection and
this case is not handle by v3d->zbuf anymore.
UI assume depth test is off by default. The DRWManager assume it's on.
This should fix T55623.
2018-07-03 19:22:15 +02:00
fbafa4352b
Keymap: Select/De-Select now use A, Alt-A
...
There are still some keys to update because
some operators only support toggle.
2018-07-03 15:10:12 +02:00
2e15ee0dcf
Keymap: add back X-Key for delete
...
This is needed as part of modeling work-flow, so keep it accessible.
2018-07-02 13:00:43 +02:00
b076b3853c
Merge branch 'master' into blender2.8
2018-07-02 12:03:56 +02:00
b88e51dd55
Cleanup: use bool for poll functions
2018-07-02 11:51:31 +02:00
dcdde6bedb
Keymap: minimal default keymap
...
Use 2.7x keymap preset for full keymap.
Use define to allow further adjustments.
See T55666.
2018-06-29 12:58:59 +02:00
8e02106d0d
GLRefactor: partially remove gl calls from source/blender/editors.
...
This translates the gl calls to the new GPU_ wrappers from D3501.
Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis.
This fixes 13 of the 28 failing editors when building without opengl.
For the list of substitutions see D3502
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3502
2018-06-27 19:07:23 -06:00
9c65227061
Tag object/scene for selection update from operators
...
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-13 16:07:55 +02:00
98e0bd90f4
WM: hide internal operator settings
...
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-12 22:00:22 +02:00
6231a077ac
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/blenkernel/BKE_group.h
source/blender/blenkernel/BKE_object.h
source/blender/blenkernel/intern/group.c
source/blender/blenkernel/intern/library_remap.c
source/blender/blenkernel/intern/object.c
source/blender/blenloader/intern/readfile.c
source/blender/editors/object/object_group.c
source/blender/editors/object/object_relations.c
source/blender/editors/physics/rigidbody_constraint.c
source/blender/editors/physics/rigidbody_object.c
source/blender/makesrna/intern/rna_group.c
2018-06-12 15:41:32 +02:00
d617a6c85b
Cleanup/simplify G.main usages.
...
Using G.main only to get main bled filepath, or built-in fonts, is OK.
So now using the 'valid' G_MAIN macro here instead.
2018-06-12 15:03:51 +02:00
94aa4d1657
Merge branch 'master' into blender2.8
...
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-08 14:38:57 +02:00
7b6af843c2
Cleanup: getting rid of G.main.
...
Sometimes one needs a *lot* of changes for a single G.main... :/
2018-06-08 12:17:22 +02:00
54f9cd5283
Cleanup: Nuke moar G.main usages...
2018-06-07 11:11:46 +02:00
bb7202495a
Merge branch 'master' into blender2.8
...
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-06 16:25:28 +02:00
48e871ab1d
Cleanup: Nuke moar G.main usages...
2018-06-06 15:50:24 +02:00
95011f6d48
Merge branch 'master' into blender2.8
2018-06-04 09:39:04 +02:00
44505b38df
Cleanup: strip trailing space in editors
2018-06-04 09:31:30 +02:00
bfe1d0e0dc
Merge branch 'master' into blender2.8
2018-06-01 18:26:42 +02:00
75fc1c3507
Cleanup: trailing whitespace (comment blocks)
...
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-06-01 18:19:39 +02:00
a0dbaf1d9d
ED_transform_snap_object: remove unused bmain parameter in context creation.
2018-05-24 19:09:01 -03:00
17aef80207
Multi-Object-Mode: EditCurve Subdivide
...
D3382 by @dgriffin91
2018-05-23 07:41:58 +02:00
647232f7f1
Multi-Object-Mode: EditCurve Select Linked
...
D3409 by @dgriffin91
2018-05-23 07:34:10 +02:00
f99197fb2d
Transform: Support mixed snap in 3d View.
...
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-22 08:58:56 -03:00
4e14437cb0
Multi-Object-Mode: EditCurve Select Random
...
D3405 by @dgriffin91
2018-05-22 08:25:05 +02:00
08ba057eef
Fix misuse of the use_occlusion_test parameter.
2018-05-21 11:17:19 -03:00
6e48afeb23
Merge branch 'master' into blender2.8
2018-05-18 14:59:38 +02:00
1cc4ab481e
Fix crash drawing polygon curves
2018-05-18 14:23:53 +02:00
170dd30881
Multi-Object-Mode: EditCuve Select All
...
D3381 by @dgriffin91
2018-05-17 17:09:02 +02:00
50c29e2391
Cleanup: pass the use_depth parameter to the SnapObjectParams struct in the ED_transform_snap_object_project_view3d_mixed.
2018-05-15 14:32:30 -03:00
f1bc899146
Merge branch 'master' into blender2.8
2018-05-15 10:25:49 +02:00