Commit Graph

34088 Commits

Author SHA1 Message Date
25c96bc9f3 code cleanup: remove unused macros, commet some which may be useful later - or good to keep for completeness. quieted some warnings and add flags -Wmissing-include-dirs and -Wno-div-by-zero to cmake/gcc 2012-09-20 01:02:39 +00:00
5d56a901a8 code cleanup: c++ - use empty() rather than size(), use prefix operators for non-primitive types - recommended for non primitive types. 2012-09-20 00:55:32 +00:00
5205927892 Fix #32596: bones in armature created from skin modifier have wrong envelope
values.
2012-09-20 00:53:25 +00:00
6cd32435a2 Fix #32598: clamp blender internal alpha channel to 0..1, and RGB to 0..inf,
to avoid compositing issues. The values can go out of bounds due to sharp
pixel filters.

In Cycles the alpha channel is already clamped, and there are no pixel filters
that could cause negative RGB values.
2012-09-20 00:39:27 +00:00
a09b5c1f20 Color Management: new generated images had empty color space by default
Now use default byte/float colorspace when creating new image.
2012-09-19 19:53:16 +00:00
8801008507 Fixed "cleaning" of some menu labels (those with all the ugly %t/|), wasn't working in all cases.
Also cleaned some old, no more used piece of code.
2012-09-19 19:42:01 +00:00
f3d261d795 Collada(exporter): Added error message when export file can not be created for whichever reason 2012-09-19 19:28:29 +00:00
b25bea036f Add a "Header" sub-menu to the right-click one of all buttons in a header area. Also header tools entries are now translatable! 2012-09-19 18:47:41 +00:00
0aa26903f5 Makes no sense to have render engine property animatable! 2012-09-19 17:37:15 +00:00
Dalai Felinto
39d57e97be using the utf8 flipped form of Hebrew for the ui 2012-09-19 17:19:39 +00:00
d8ffe32074 Small fix for Follow Track constraint
Use object_get_derived_final() function instead of accessing to object's
derived final directly.

The same happens for shrinkwrap constraint and it should deal better in
cases when depth object is in edit mode. In other cases should be no
functional changes.
2012-09-19 17:19:30 +00:00
ef216ee558 Mark movie clip user current frame as editable
It should be pretty safe change which would allow doing stuff like
python-defined tracking routines without need to update the whole
scene when it's needed to perform some operation on different clip
frame.

It'll be possible to write operators similar to tracking, which
updates space clip's frame number, but not scene frame when tracking
and only synchronizes scene frame number on operator finish.
2012-09-19 17:14:43 +00:00
3bf576e57e Fix missing dependency graph update when switching to another scene, now does
same update as loading .blend or switching layer visibility.
2012-09-19 17:11:07 +00:00
f12d698ead Fix #32576: missing image editor update when entering edit mode with UV textures. 2012-09-19 17:09:14 +00:00
d0f4c96394 Color Management: don't apply display transform on Non-Color images
Also don't color manage data buffers in texture painting.

Makes it possible to view heights and normal maps in proper space
and also paint on them without applying extra transformation.
2012-09-19 15:01:36 +00:00
5a3e474cc6 Tracking: fixed crash when reference frame fails to be loaded 2012-09-19 12:43:32 +00:00
15ce5f95b3 joining mesh objects now keeps relative key setting of each keyblock. also joining absolute shapekeys now sorts by time. 2012-09-19 12:11:28 +00:00
0d5d2146eb code cleanup: make shape key api names consistent with our new convention. 2012-09-19 10:12:07 +00:00
f5d3e361ce fix for missing NULL check in init_render_texture() (possibly own fault), also remove some redundant code. 2012-09-19 08:09:22 +00:00
123a25c52b fix txt_redo_read_unicode() missing break - reading 4 byte unicode would fail, same fix was made for txt_undo_read_unicode() recently. 2012-09-19 08:07:23 +00:00
db051f2b2d fix MESH_OT_tris_convert_to_quads() limit options (uv and vertex color) were not working at all. 2012-09-19 04:48:34 +00:00
946c9580b5 fix buffer overrun when 5+ sided faces were used for text drawing. 2012-09-19 02:06:27 +00:00
4ea7193ccf code cleanup: marker transform was doing some redundant/misleading assignments & checks, remove unused cruft.
also remove some other redundant checks.
2012-09-19 01:34:10 +00:00
f1a5d1d3bb fix buffer overrun in make_histogram_view_from_ibuf_byte(), use define for buffer size so this wont happen again. 2012-09-19 00:56:09 +00:00
e00bf04912 fix [#32575] Seperate more than one object from a mesh generates additional edges 2012-09-19 00:09:14 +00:00
22fdc63b86 Color management: fix crashes and memory leaks when using custom OCIO configuration
Also fix some missing color spaces when loading some OCIO configurations, by falling
back to scene linear if role is not found. There can still be some errors in the
console, need to check this further.

http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.64/Color_Management#OpenColorIO_Configuration
2012-09-18 19:20:26 +00:00
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
4759f70e33 Fix crash editing mask with no image in the image editor. 2012-09-18 19:20:21 +00:00
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
71ecbe9b37 Fix for own r50715 (static func is much better here!)... 2012-09-18 15:13:45 +00:00
8e93f017ac do_version fix files with bad keyblock uid caused by byg [#31569] 2012-09-18 14:40:02 +00:00
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
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
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
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
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
c50c654543 Fixed missing display buffer invalidation when rendering sequencer animation 2012-09-18 08:40:53 +00:00
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
3094a02e6e "Colospace" -> "Color Space" (in UI messages). 2012-09-18 07:14:16 +00:00
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
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
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
6df4c1317f code cleanup: use system includes for cmake, otherwise warnings get printed in headers. 2012-09-18 04:40:20 +00:00
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
a4ff2b9140 code cleanup: warnings 2012-09-18 03:15:12 +00:00
7a06630411 fix for scene not copying image format color management for settings. 2012-09-18 03:14:31 +00:00
47677909c7 fix own error in r49994 2012-09-18 01:24:32 +00:00
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
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