7f5bae28db
Fix memfile undo decoding creating undo steps
...
Exiting modes shouldn't be needed since loading the new memfile
will free the old data.
Sculpt mode dynamic topology was adding undo data on exiting the mode
which isn't logical in this case and can be avoided altogether.
2019-01-10 08:02:51 +11:00
ea0abf52bf
Fix T59165: Text operations fail to undo
...
Some undo operations encode multiple actions, now all are undone/redone.
2019-01-10 08:01:50 +11:00
3f0a26137a
Spin Tool: don't flip when using a negative angle
...
The intention was to flip normals when extruding in the opposite
direction, however the sign of the angle isn't meaningful unless
the geometry center and region normal are taken into account.
Disable, may add back in a way that works more predictably.
2019-01-04 17:07:12 +11:00
66c3eb36d2
Cleanup: use typed unsigned ints
2019-01-04 11:09:18 +11:00
847b21ee08
Fix T60014: material link pref ignored
...
The PreferencesEdit.material_link only worked for adding slots,
adding an initial new material didn't respect the preference.
2019-01-03 12:20:08 +11:00
684898cfbf
Fix Proportional Edit Projected 2D method skiped center calculation
...
rBa520e7c85c83 defined T_OVERRIDE_CENTER(1 << 25)
which was already in use T_PROP_PROJECTED(1 << 25)
thus skipping center calculation
Fixes T58882, T59518
Reviewers: campbellbarton, brecht
Maniphest Tasks: T58882, T59518
Differential Revision: https://developer.blender.org/D4100
2018-12-19 12:33:11 +01:00
5c3953010d
Cleanup: spelling
2018-12-19 10:18:15 +11:00
1875f9e7d7
Fix T59104: Snapping: Align rotation to target broken in edit mode.
...
This has been unbelievably painful to understand... And solution is only
partially good actually, we may even want a single axis for all the
islands in that case? But for now this is giving much better results
already, compared to the random crazyness it used to produce.
2018-12-18 20:27:50 +01:00
11a242dea1
Missed last commit
2018-12-14 11:14:57 +11:00
aa3c4b4cb6
Missed last commit
2018-12-14 11:06:34 +11:00
6e2d9ef2db
Cleanup: naming (mean -> median) see T47811
2018-12-14 10:54:11 +11:00
e757c4a3be
Cleanup: use colon separator after parameter
...
Helps separate variable names from descriptive text.
Was already used in some parts of the code,
double space and dashes were used elsewhere.
2018-12-12 12:50:58 +11:00
642c315bae
Fix T53544: Undo in pose mode selects all fcurves
2018-12-10 12:30:41 +11:00
9df2b6da3a
DNA: add runtime struct to for graph & action editor
...
Move struct members, no functional change
2018-12-10 12:19:18 +11:00
52824f008e
Cleanup: redundant counter
2018-12-07 17:06:21 +11:00
f6c615a8c2
Fix T58819: Weight paint gradient crash
2018-12-06 11:22:00 +11:00
45c11c1a1b
Fix T49624: Fly uses camera settings outside camera view
2018-12-05 08:36:37 +11:00
6bb825e083
Fix T54580: Pointer buttons skip undo push
2018-12-03 18:43:33 +11:00
be2e549111
Use scene active object for sculptmode enter/exit calls
...
Match logic in previous commit.
2018-12-03 18:00:20 +11:00
f32dfd0819
Fix T56331: Undo crash w/ sculpt on hidden layer
2018-12-03 17:42:26 +11:00
335e1b507b
Cleanup: BKE b-bone API naming
...
Use BKE_pchan_bbone prefix.
2018-12-02 14:29:54 +11:00
c00e1f68e9
Cleanup: BKE_effect.h naming
2018-12-02 14:14:51 +11:00
a9bd788348
Cleanup: style
2018-12-01 08:15:25 +11:00
530e567578
Revert "3D View: locked camera was using the original view offset"
...
This reverts commit 3f31c28a02 .
Gives issues zooming, could be resolved but it mostly worked OK before,
and it's not a priority to spend time on, so leave as is for now.
2018-11-30 19:01:06 +11:00
3f31c28a02
3D View: locked camera was using the original view offset
...
Now used the original dist instead, since using the distance between
the camera and the views offset may seem random from the users POV.
This addresses strange behavior noticed in T56934.
2018-11-30 18:15:06 +11:00
6429e6c91e
Cleanup: ensure '_END' macros end with a semicolon
...
Missing these breaks auto-indent for editors that don't expand macros.
2018-11-30 15:35:15 +11:00
3612ce5579
Cleanup: name macros w/ matching BEGIN/END
2018-11-30 15:22:01 +11:00
8c85f1316c
Cleanup: name macros w/ matching BEGIN/END
2018-11-30 15:08:47 +11:00
9a5df92c1b
Fix T56872: Edge slide gives invalid normals
...
Add the ability to skip overwriting normals.
2018-11-27 11:40:32 +11:00
c66570f519
Fix T57989: File loaded as startup
...
The file contents was used to check if the file was a startup file.
Now pass in an argument from startup loading code instead.
2018-11-22 15:06:14 +11:00
Roel Koster
f74fa98e53
Linux: list GVFS mount points
2018-11-19 08:53:19 +11:00
ec20d311da
Call PRE_VIEW and POST_VIEW draw callbacks in movie clip editor
2018-11-16 13:59:16 +01:00
d7f55c4ff5
Cleanup: comment block tabs
2018-11-14 17:10:56 +11:00
b97a2c3688
Cleanup: naming for paint modes
...
- Rename ePaint* -> PAINT_MODE_*.
- Use PAINT_OVERLAY_ prefix for eOverlayControlFlags.
2018-11-14 11:20:08 +11:00
c1d29ea783
WM: enforce descriptions being NULL or defined
...
Without this bugs slip through that don't null check the descriptions
since many were set to empty strings.
2018-11-14 09:47:23 +11:00
fe566a30f3
Cleanup: use lowercase 2d/3d in function names
2018-11-13 14:21:42 +11:00
89c2ff31d9
PyAPI: update keyword list
2018-11-11 09:37:26 +11:00
7efac2b0b0
PyAPI: add imports arg to BPY_execute_string
...
Allows for avoiding `__import__` in expressions,
was already supported for BPY_execute_string_as_* API calls.
2018-11-10 10:55:04 +11:00
8a014e780e
Cleanup: use STRPREFIX for mount point checks
...
From D3846 by @kostex
2018-11-07 13:37:42 +11:00
59e70d5f8d
Cleanup: renmae ePaintTexture(Projective) -> 3D
...
Matches ePaintTexture2D, less verbose.
2018-11-07 11:52:14 +11:00
1b974563b1
Fix T57529: 2D image paint fill tool not taking into account alpha.
2018-11-01 13:05:57 +01:00
4205cd269d
UI: add uiItemMenuFN which frees it's argument
2018-10-30 10:53:47 +11:00
Roel Koster
e3d2df0380
Fix snaps appearing in system bookmarks on Linux.
...
Differential Revision: https://developer.blender.org/D3838
2018-10-28 15:08:21 +01:00
fbfa3999e1
Fix T57284: poor result UV unwrapping concave n-gon.
2018-10-19 15:32:01 +02:00
5f8222501c
DEBUG_IO: add sanity check on libdata in undo step as well.
...
There are serious suspicions that weird corruptions faced by studio
artists may happen in undo/redo code, so let's see whether that's the
case.
With this, and when --debug-io arg is passed on startup, the whole lib
data are checked at every undo. This makes undo slower (from two to
three times slower), but it could help us spot better what happens...
2018-10-17 16:43:02 +02:00
2083a7e274
Cleanup: style (pointers)
2018-10-11 09:03:39 +11:00
bf37c93533
Correct tooltip
2018-10-02 11:17:31 +10:00
81f68bbba1
Fix compilation errors and warnings with Clang-6
2018-09-28 09:46:12 +02:00
a247b53084
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3732
2018-09-27 15:36:35 +02:00
09c7bfe42b
Spin Tool: hide options unrelated to duplication
2018-09-27 11:52:21 +10:00