9f2ae547c0
Fix/workaround RNA build error in C++ API.
...
It seems output parameter needs to be the last one.
2018-05-21 11:13:56 +02:00
4198c18f15
Cleanup: correct variable names
2018-05-21 10:53:50 +02:00
12a60265cd
WM: utility to find a keymap item from an operator
...
Also RNA access to WM_keyconfig_update,
needed when generating dynamic keymaps used in menus immediately after.
2018-05-21 10:35:44 +02:00
5e7a21a5f5
Fix T55115: crash when iterating SmokeDomainSettings color_grid property
...
through python
2018-05-18 14:34:27 +02:00
1cc4ab481e
Fix crash drawing polygon curves
2018-05-18 14:23:53 +02:00
96fba1e101
Color: Assume Rec 709 in remaining comp nodes
...
Part of T54798
2018-05-17 17:20:32 -04:00
0e0d99161a
RNA: move enums to rna_rna.c
...
Needed for use in rna non runtime code.
2018-05-17 19:10:45 +02:00
b290048257
makesrna: error check from 2.8
2018-05-17 19:05:46 +02:00
4461be1b72
Fix T55032: Redo w/ file saved in edit-mode failed
...
It's important edit-mode has a step stored for redo to work,
file load now ensures this in a generic way.
2018-05-15 19:37:06 +02:00
91504ed26e
Fix assert using '//' on an unsaved file
...
Annoying for debug builds.
2018-05-15 17:27:36 +02:00
3eb9cc69f2
Cleanup: last spacetype enum name
2018-05-15 11:12:49 +02:00
9636cab009
Undo System: remove nested edit-mode undo calls
...
Regression in recent undo system changes,
This caused T55048.
When each mode had its own undo stack it was important
to initialize it when entering edit-mode.
2018-05-15 10:10:48 +02:00
ae8225ba6d
Fix BMesh bisect not flagging dirty indices
2018-05-15 09:04:12 +02:00
43ee4d5d7c
Cleanup: quiet GCC -Wtype-limits
...
While the warning can normally be disabled, we don't have have as much
control of warnings when macros are used.
2018-05-14 09:00:42 +02:00
c1d737eb95
BLI_utildefines: re-ordering array delete macro
2018-05-14 08:38:53 +02:00
b99d064e91
Cleanup: trailing space
2018-05-13 06:44:03 +02:00
c84b8d4801
Cleanup: modifier arg wrapping
2018-05-12 08:04:56 +02:00
925e775818
EditMesh: remove duplicate rip macro
...
Change the fill setting in the keymap,
this allows tool access the macro with either setting.
2018-05-11 20:02:12 +02:00
73a7885ab3
WM: initialize last used macro properties
2018-05-11 20:01:51 +02:00
d5c1c0b10d
Fix (unreported) broken freeing code for Sequencer.
...
Freeing sequencer would always do usercount, which is now forbidden when
called from main ID freeing code.
Annoying in 2.7x, much more critical issue in 2.8!
Also, moved RNA sequencer API functions to proper rna_scene_api.c file.
2018-05-11 11:23:11 +02:00
13beeb5892
Fix (unreported) load image code calling icin/preview update from non-Main thread.
...
Icin/preview only works in main thread, while image loading can be done
from others too... This could have generated random crashes and such.
2018-05-11 10:48:04 +02:00
0385b33f0b
Fix broken 'check/validate libs' code with indirect libs.
...
Readcode always set relative paths of indirectly linked libs relative to
*current* .blend file, not to the library using it.
But BKE_library_filepath_set was then setting them relative to their
parent library, breaking checking code (and saved files even :((( ).
2018-05-09 15:52:29 +02:00
69f2305415
Fix T54992: Lattice modifier on another Lattice object does not take the
...
Influence vertexgroup into account
2018-05-09 14:41:25 +02:00
34c474e695
Fix T54997: simple typo in property description
2018-05-09 14:26:47 +02:00
f3efa9e15f
Fix (unreported) bug in BVHTree 'free tessfaces' flag setting.
...
Could lead to atempt to free NULL pointer, and/or memory leak.
2018-05-09 12:33:21 +02:00
b59b812400
MSVC: resolve near/far issue take2
...
Previous fix failed w/ compositor,
tested on MSVC2015, full build.
2018-05-09 11:23:32 +02:00
598216c36e
MSVC: remove hack for near/far name collision
...
windows headers define these, conflicting w/ View3D.near/far.
2018-05-09 10:00:55 +02:00
80844fdfc0
Color: Combine/Separate YCbCrA node default to rec. 709
...
This commit is part of T54798
Differential Revision: https://developer.blender.org/D3183
2018-05-08 22:24:58 -04:00
e0a436fcff
Cleanup: includes
2018-05-08 18:01:47 +02:00
0012082c10
Cleanup: move mesh conversion into own function
2018-05-08 17:54:25 +02:00
4e4a93bc45
Fix building with latest versions of ffmpeg.
...
Some years-old deprecated stuff has now been removed.
Correct solution is probably to use valid defines etc. in own code, but
this is more FFMEPG maintainer task (since it also may change how old
FFMPEG we do support...).
2018-05-08 16:00:52 +02:00
43e0e8defa
Fix (unreported) bloody modifiers messing with ID user count in copy.
...
User count of IDs is handled by higher-level, generic function,
low-level copydata functions *MUST NOT* touch them anymore, ever!
2018-05-08 15:27:10 +02:00
3740f7593d
Cleanup: Nuke empty dummy wrappers around modifier_copyData_generic().
...
This also changes signature of modifier copy callback, first (source)
parameter is now a const, which is saner anyway!
2018-05-08 15:04:10 +02:00
49fe27ee46
Modifiers: sanitize/cleanup modifiers' copying & freeing code.
...
Should also fix T55000: Crash with hooks and curves in Cycles render.
2018-05-08 14:22:14 +02:00
5358026511
Cleanup: quiet -Warray-bounds warning
2018-05-08 13:32:52 +02:00
59ce30f32b
Tracking: Use bmain from context
2018-05-08 11:58:42 +02:00
433aaa8c2e
Cleanup: remove unused wmReport struct
2018-05-08 07:52:13 +02:00
c09e22306a
Fix (unreported) memleak when copying object with some modifiers.
2018-05-07 17:59:23 +02:00
f74d85ffc8
Cleanup: rename char/float conversion functions
...
- FTOCHAR -> unit_float_to_uchar_clamp
- F3TOCHAR3 -> unit_float_to_uchar_clamp_v3 (swap args)
- F4TOCHAR4 -> unit_float_to_uchar_clamp_v4 (swap args)
- FTOUSHORT -> unit_float_to_ushort_clamp
- USHORTTOUCHAR -> unit_ushort_to_uchar
2018-05-07 17:51:40 +02:00
905eeb0bc7
Cleanup: move unit char/short/float to functions
...
This caused GCC 8.1 to crash at build time,
but was also not very nice use of macros.
2018-05-07 17:50:25 +02:00
66ec3c7e7f
Fix Movieclip editors 'graph' and 'dopesheet' view using themes region
...
background setting
mentioned in T54942
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3200
2018-05-07 14:57:05 +02:00
1f76e6c326
Fix T54525: crash when setting number of frames to use between dupoff
...
frames
caused division by zero if both dupli_frames_on and dupli_frames_off are
zero. doing this doesnt seem useful, dupliframes can be disabled in
other ways.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D3132
2018-05-07 14:49:09 +02:00
6c243b7e40
More tweaks to strict compiler flags
2018-05-07 14:28:22 +02:00
592c3881ba
Silence compilation error around possible fall-through
2018-05-07 14:19:12 +02:00
cd3f5983cd
Fix Bevel percent mode bug 54228
...
Previous new adjust pass commit should have excluded percent mode.
2018-05-07 07:05:41 -04:00
9eb5aa32b8
Fix T54324: remove stencil entries from weight paint keymap
...
Reviewed By: mont29
Differential Revision: http://developer.blender.org/D3178
2018-05-07 12:28:15 +02:00
ea1751a038
Fix T54594: Lattice with Armature modifier not updating correctly
2018-05-07 12:05:09 +02:00
a3b4c3823c
Fix T54966: mathutils.noise.voronoi Memory leak
...
C code was not correctly handling release of temp data, not technically
a memory leak, but indeed rather annoying bug! ;)
2018-05-07 11:07:11 +02:00
9bd2e9104a
Nodes: show node labels (like image name) in material properties node view.
2018-05-06 19:28:23 +02:00
046904e3fc
Cleanup: split rotation_from_view
...
Add a function that takes only a quat, instead of the 3D view.
Allows for using non-view orientations.
2018-05-06 18:32:18 +02:00