Brecht Van Lommel
56175d8c80
Color management: default to Save as Render when saving an image datablock with
...
View as Render enabled.
2012-09-18 19:20:23 +00:00
Brecht Van Lommel
4759f70e33
Fix crash editing mask with no image in the image editor.
2012-09-18 19:20:21 +00:00
Antony Riakiotakis
602691fdfc
Fix #31539 , painting in image editor while in object mode does not update mipmaps.
...
While we could disable/enable mipmaps on stroke begin/end, it is a bit hacky (but worthy of consideration for later) for my taste just to paint in the image editor. Instead we generate mipmaps on the fly. Since we can update texture levels below the first only with GPU mipmapping, partial update when painting in the image editor will actually work only with GPU mipmapping from now on (which is fast enough I hope not to get any lags!).
2012-09-18 15:58:07 +00:00
Bastien Montagne
71ecbe9b37
Fix for own r50715 (static func is much better here!)...
2012-09-18 15:13:45 +00:00
Campbell Barton
8e93f017ac
do_version fix files with bad keyblock uid caused by byg [ #31569 ]
2012-09-18 14:40:02 +00:00
Campbell Barton
6d76f140d0
fix [ #31569 ] Shapekey w/ Driver - Shapekey Influences Disappears After Going to Edit Mode
...
joining meshes would allow shape key UID's not to be unique.
This was caused by join adding new key blocks inline, now use add_keyblock() like everywhere else does.
2012-09-18 14:29:01 +00:00
Campbell Barton
a53351d204
don't divide by zero in get_ss_weights() which would set values - only to be overwritten.
...
useful when using --debug-fpe since this isnt and exceptional case.
2012-09-18 12:53:41 +00:00
Sergey Sharybin
3069db2216
Revert part of rev50719, it's not actually needed and it always
...
invalidates render result display buffers.
2012-09-18 11:21:57 +00:00
Campbell Barton
e048a555fc
fix [ #32572 ] Windows: False error on console when a new folder is created during a save or export operation
2012-09-18 10:51:48 +00:00
Sergey Sharybin
3d9d7275b5
Color Management: fixed crash when changing display device in screenshot save operator
...
In fact, color management settings shouldn't be editing from this operator since
screenshot is using OpenGL which is in sRGB space, but fixed issues with Image
Format initialization and added NULL pointer checks.
2012-09-18 10:11:46 +00:00
Sergey Sharybin
c50c654543
Fixed missing display buffer invalidation when rendering sequencer animation
2012-09-18 08:40:53 +00:00
Campbell Barton
8e641348f9
fix own error BLI_rctf_cent_x/y were incorrectly returning int's, also quiet some warnings.
2012-09-18 08:00:19 +00:00
Bastien Montagne
3094a02e6e
"Colospace" -> "Color Space" (in UI messages).
2012-09-18 07:14:16 +00:00
Bastien Montagne
41392dccf0
Small fixes to languages names (thx to Dalai Felinto for the hints), and enable building with collada under gcc in paranoid warnings=errors mode (function prototypes needed)...
2012-09-18 07:03:23 +00:00
Sergey Sharybin
92852aee83
Compilation error fix: plain C dos not support mixed declarations and cod
2012-09-18 06:16:38 +00:00
Dalai Felinto
c00d0fa515
fix for segfault when trying to link a sensor with an actuator from an object different than the active.
...
Campbell raised a preference on using direct C calls instead of WM_operator_name_call(). But since the original commit for 'smart controller' was already using it, this is something for a different commit
2012-09-18 05:34:31 +00:00
Campbell Barton
690d5192f0
code cleanup: remove vertex/weight paint's VP_COLINDEX, this feature worked in the code but wasnt accessible from the UI this wasn't even accessible from the UI in 2.4x.
...
This would only paint onto faces from the active material. however we're better off using selection here IMHO (adding support for material selection in paint mask mode).
also quiet some warnings.
2012-09-18 04:55:52 +00:00
Campbell Barton
6df4c1317f
code cleanup: use system includes for cmake, otherwise warnings get printed in headers.
2012-09-18 04:40:20 +00:00
Campbell Barton
d3737de8c2
fix for a strange linking error where set_property() in source/blender/blenkernel/intern/property.c would get mixed up with an X11 function of the same name. it crashed blender loading on my system.
...
Give functions in property.c more unique names.
2012-09-18 04:35:30 +00:00
Campbell Barton
a4ff2b9140
code cleanup: warnings
2012-09-18 03:15:12 +00:00
Campbell Barton
7a06630411
fix for scene not copying image format color management for settings.
2012-09-18 03:14:31 +00:00
Campbell Barton
47677909c7
fix own error in r49994
2012-09-18 01:24:32 +00:00
Campbell Barton
dbdcfe488b
wiki reference checker now prints undocumented sections, more helpful then a massive list of all props.
2012-09-18 00:41:00 +00:00
Campbell Barton
17d439450f
extra error check for bl_rna_wiki_reference.py validator, that rna_wiki_reference.py uses correct structure.
2012-09-18 00:27:13 +00:00
Campbell Barton
1dc77fb65f
code cleanup: remove unused defines
2012-09-17 23:05:58 +00:00
Campbell Barton
f6251a1f32
code cleanup: warning and style
2012-09-17 22:34:42 +00:00
Campbell Barton
aff591c6e1
code cleanup: typos and set exceptional cases of zero length normals as UNLIKELY().
2012-09-17 22:22:06 +00:00
Campbell Barton
7f32f412ad
fix for bug setting single user obdata while in editmode, it didnt work (made many copies but didn't assign them), so disable it.
2012-09-17 22:19:50 +00:00
Andrea Weikert
d9a95f967a
== filebrowser ==
...
added operator for resetting (cleaning up) the recent folders list in the file-browser panels.
(small and low risk request by dfelinto)
2012-09-17 21:38:04 +00:00
Andrea Weikert
dd3636a6d4
== filebrowser ==
...
further fixes for 'RECENT' files panel in filebrowser:
* Also add the recent folder at the head if it is not yet in the list
* since we now insert at the head, we need to remove the skipping of the first entries if there are too many. Now correctly leaving the last elements unwritten.
* Another consequence of inserting at the head is that we don't want to reverse the list in the recent panel anymore - got rid of the corresponding code.
2012-09-17 21:29:30 +00:00
Andrea Weikert
f5395107cc
fix: obvious bug in recent fix for the 'recent file' bookmark order.
2012-09-17 20:16:34 +00:00
Brecht Van Lommel
9678b0da4e
Fix mac build issue after recent file browser fix.
2012-09-17 11:25:10 +00:00
Thomas Dinges
058da985ff
Release Cycles:
...
* Bump BLENDER_VERSION_CYCLE to rc. BCon4, bugfixes only.
2012-09-17 10:50:13 +00:00
Sergej Reich
01d78854dc
Fix compilation for non GCC compilers
...
Was simple copy pase error.
2012-09-17 10:18:28 +00:00
Antony Riakiotakis
0020fff749
Fix compilation issue, also get rid of annoying "_MSC_VER not defined"
...
preprocessor ambiguity for MinGW
2012-09-17 08:36:47 +00:00
Sergey Sharybin
dd62f5b7b8
Remove obsolete code from BKE_tracking_marker_clamp
2012-09-17 07:12:02 +00:00
Sergey Sharybin
0d33a1c090
Fixed crash in cases sequencer returns NULL image buffer
...
Happens when there's no strip under current frame. Simply added NULL-check.
2012-09-17 07:09:11 +00:00
Campbell Barton
d1cde59ed3
fix [ #32442 ] UNDO causes actual shape key to be lost, undoing a modification of another shape key.
2012-09-17 06:14:09 +00:00
Campbell Barton
7ecc9951a9
add endian switching to mask shape key loading (loading mask animations between big/little endian systems would break), also set attributes to BLI_endian_switch_* functions.
2012-09-17 05:31:41 +00:00
Campbell Barton
13918dffd2
code cleanup: fsmenu.c names were confusing - fsms / fsme / prev --> fsm_head / fsm_iter / fsm_prev
2012-09-17 04:29:43 +00:00
Campbell Barton
00c37e1ff6
code cleanup: correct include paths and comment
2012-09-17 04:08:36 +00:00
Campbell Barton
3cae9ca043
fix [ #32564 ] Entries in recent list (file select dialog) don't get pushed to top if used again
2012-09-17 02:19:41 +00:00
Campbell Barton
a5003727c5
code cleanup: replace fsmenu_insert_entry args with flags.
2012-09-17 02:01:09 +00:00
Campbell Barton
17cb1bcdf5
style cleanup
2012-09-17 01:42:47 +00:00
Campbell Barton
31f638f04f
code cleanup: text clipping function ui_text_leftclip() was also used for cursor clipping which made it a bit confusing, split into 2 functions. ui_text_clip_left(), ui_text_clip_cursor().
2012-09-17 00:57:33 +00:00
Campbell Barton
b8a67bccc0
code cleanup: add some comments and made some small speedup to text clipping in the UI
2012-09-17 00:33:07 +00:00
Campbell Barton
42dd135be0
style cleanup: multiple statements on a single line in interface code.
2012-09-16 23:40:03 +00:00
Campbell Barton
86a72ae064
fix for node socket text buttons not scaling with DPI, also quiet -Wundef warning WITH_DDS.
2012-09-16 23:24:26 +00:00
Sv. Lockal
b1d1355f30
Fix drawing of output slots with utf-8 names. Also always show last letters in already clipped output slots names
2012-09-16 19:06:17 +00:00
Antony Riakiotakis
237a9fde92
Enable OpenColorIO for MinGW64 build targets
2012-09-16 18:05:32 +00:00