8 years agotweaks to clang so blender can build with -Werror
Campbell Barton [Thu, 14 Mar 2013 07:25:54 +0000 (07:25 +0000)]
tweaks to clang so blender can build with -Werror

8 years agoQuick fixes for previous commit
Joshua Leung [Thu, 14 Mar 2013 07:11:36 +0000 (07:11 +0000)]
Quick fixes for previous commit
* Missing word in tooltip for operator
* Ensure that filters are set appropriately so that effect is visible

8 years agoNLA Editor: Operator to add AnimData to selected objects so that they can appear
Joshua Leung [Thu, 14 Mar 2013 06:34:02 +0000 (06:34 +0000)]
NLA Editor: Operator to add AnimData to selected objects so that they can appear

This commit introduces an operator in the Add menu - this operator ensures that
all selected objects have AnimData attached to them (even if they don't have any
actions/drivers yet). By doing this, these objects can at least appear in the
NLA Editor, which will allow them to have strips added to them in future without
having to create throwaway actions first (NOTE: there's still some stuff coming
to allow that).

Also, renamed NLA_OT_delete_tracks -> NLA_OT_tracks_delete

8 years agoBugfix: Filtering option in NLA Editor to include AnimData blocks with no
Joshua Leung [Thu, 14 Mar 2013 06:30:18 +0000 (06:30 +0000)]
Bugfix: Filtering option in NLA Editor to include AnimData blocks with no
actions or NLA data attached was broken

Looks like a typo whcih somehow slipped in at some stage, as I remember that
this used to work at some point 2 years ago!

8 years agofix reading out of buffer bounds for recent vertex paint commit.
Campbell Barton [Thu, 14 Mar 2013 05:59:34 +0000 (05:59 +0000)]
fix reading out of buffer bounds for recent vertex paint commit.

8 years agoRemove OPTYPE_REGISTER flag from click handler operator for anim editors
Joshua Leung [Thu, 14 Mar 2013 05:58:13 +0000 (05:58 +0000)]
Remove OPTYPE_REGISTER flag from click handler operator for anim editors

1) It made no sense to show this as the last operator which was used, since
these can only be used from the anim editors (and not the 3D View where this
panel appears most of the time)
2) Mouse select operators in other places didn't do this
3) There aren't really any editable parameters for this operator anyway
4) It's highly dependent on valid mouse coordinates as input.

Apart from that, undo still works fine, so no need to really keep this here.

8 years agostyle cleanup: odd indentation
Campbell Barton [Thu, 14 Mar 2013 05:52:30 +0000 (05:52 +0000)]
style cleanup: odd indentation

8 years agoMore AnimData selection fixes
Joshua Leung [Thu, 14 Mar 2013 05:44:56 +0000 (05:44 +0000)]
More AnimData selection fixes

* Not all supported datatypes would show up in the NLA Properties Region when
* Clicking on the name part of the "Active Action" tracks now selects the
AnimData block that action is attached to

8 years agoBugfix: Selecting AnimData "expanders" in AnimEditors works again
Joshua Leung [Thu, 14 Mar 2013 05:01:51 +0000 (05:01 +0000)]
Bugfix: Selecting AnimData "expanders" in AnimEditors works again

Somewhere along the line, this functionality broke, even though the code to
handle these settings was still in place for many of these. The main implication
of this fix is that it should now be possible to select a particular AnimData
block, which makes it possible to do things such as changing the action
associated with that AnimData block (i.e. via the "Animation Data" panel in the
NLA Editor), as well as other operations which I've had on the todolist for a
while. Stay tuned!

8 years agoFix silly mistake that could lead to crash. Also, slight cleanup/rename
Antony Riakiotakis [Thu, 14 Mar 2013 03:47:20 +0000 (03:47 +0000)]
Fix silly mistake that could lead to crash. Also, slight cleanup/rename
and comments

8 years agoSupport for textures in vertex painting.
Antony Riakiotakis [Thu, 14 Mar 2013 03:42:17 +0000 (03:42 +0000)]
Support for textures in vertex painting.

Developer notes: this commit does painting in sRGB space. Since colours
are stored im byte per component formats, expect this to have the usual
dark fringing issues. Speed wise vertex paint could use some
optimization, for instance we could store the screen space vertex
positions on initialization like we do for texture painting, but this is
for another time. Also noticed that vertex painting suffers from the
subsurf + mirror issue too :/

Apart from that it's quite exciting how easy it is to add support for
texturing now that proper abstractions for texture sampling have been
done :)

8 years agoExpose input stroke samples for image painting.
Antony Riakiotakis [Thu, 14 Mar 2013 02:45:23 +0000 (02:45 +0000)]
Expose input stroke samples for image painting.

8 years agoTwo new Features:
Antony Riakiotakis [Thu, 14 Mar 2013 02:27:36 +0000 (02:27 +0000)]
Two new Features:

* Support for Rake in projective paint (2D painting will be a separate
* Support for smooth stroke across all paint systems

8 years agoFix #34526: crash using mask modifier + subsurf + UV map.
Brecht Van Lommel [Wed, 13 Mar 2013 22:15:59 +0000 (22:15 +0000)]
Fix #34526: crash using mask modifier + subsurf + UV map.

8 years agoWM: remove "No (valid) startup.blend found" message printed on startup, can be useful...
Brecht Van Lommel [Wed, 13 Mar 2013 20:00:39 +0000 (20:00 +0000)]
WM: remove "No (valid) startup.blend found" message printed on startup, can be useful for debugging but hide it for normal usage.

8 years agoFix #34551: blender crash rendering with save buffers.
Brecht Van Lommel [Wed, 13 Mar 2013 19:48:07 +0000 (19:48 +0000)]
Fix #34551: blender crash rendering with save buffers.

Problem was the new usage of access() on Windows, this doesn't accept X_OK. Also wrapped _waccess so that UTF-8 paths work.

8 years agofix for 2 errors where the 2d arrays were used as 3d. (out of bounds read).
Campbell Barton [Wed, 13 Mar 2013 18:10:05 +0000 (18:10 +0000)]
fix for 2 errors where the 2d arrays were used as 3d. (out of bounds read).
also minor code cleanup.

8 years agoFix #34492: clipping border not working with GLSL/matcap and Nouveau drivers.
Brecht Van Lommel [Wed, 13 Mar 2013 18:00:13 +0000 (18:00 +0000)]
Fix #34492: clipping border not working with GLSL/matcap and Nouveau drivers.

8 years agosolidify modifier: thickness clamping helps prevent self intersections when there...
Campbell Barton [Wed, 13 Mar 2013 17:31:26 +0000 (17:31 +0000)]
solidify modifier: thickness clamping helps prevent self intersections when there are small details on a larger model.

8 years agoFix for build error with previous commit, seems the order of #includes matters here.
Brecht Van Lommel [Wed, 13 Mar 2013 17:30:31 +0000 (17:30 +0000)]
Fix for build error with previous commit, seems the order of #includes matters here.

8 years agoFix #34481: camera focal length and sensor size did not use units yet, now they do.
Brecht Van Lommel [Wed, 13 Mar 2013 17:16:49 +0000 (17:16 +0000)]
Fix #34481: camera focal length and sensor size did not use units yet, now they do.

I've added a separate camera unit type. It's a bit strange to have an exception for
this but it ensures units are shown in familiar millimeters and it also ensures
backwards compatibility.

8 years agoFix #34626: voxel data texture can't read > 2GB files on Windows.
Brecht Van Lommel [Wed, 13 Mar 2013 17:16:47 +0000 (17:16 +0000)]
Fix #34626: voxel data texture can't read > 2GB files on Windows.

Also fixed BLI_fopen not being used for AVI movie files, which meant AVI read
could fail reading a file from a path with special characters on Windows.

8 years agoattempt to quiet warnings for gcc4.2
Campbell Barton [Wed, 13 Mar 2013 15:41:14 +0000 (15:41 +0000)]
attempt to quiet warnings for gcc4.2

8 years agoFix [#34621] I18n Switch Issue When Gimbal and Rotation Manipulator On.
Bastien Montagne [Wed, 13 Mar 2013 15:27:54 +0000 (15:27 +0000)]
Fix [#34621] I18n Switch Issue When Gimbal and Rotation Manipulator On.

Real issue was that transform manipulators' code was calling TRANSFORM_OT_trackball with data (PointerRNA) from VIEW3D_OT_manipulator. That op has constraints props, while trackball has not. This created some kind of "ghost" properties, that showed up in redo panel.

Why this only segfaults in BLF_pgettext in 32bit builds remains a deep mystery (currently dusting out my 32 vbox to try to understand it...). BLF_pgettext is supposed to be pretty secure. :/

8 years agoBug fix #34620
Ton Roosendaal [Wed, 13 Mar 2013 15:11:45 +0000 (15:11 +0000)]
Bug fix #34620

SHIFT+T (texture space transform) crashed in editmode. Not checking NULL pointer.

8 years agoFix [#34628] Shift-V (vertex slide) does no longer show "vertex slide:" for the user.
Bastien Montagne [Wed, 13 Mar 2013 14:56:17 +0000 (14:56 +0000)]
Fix [#34628] Shift-V (vertex slide) does no longer show "vertex slide:" for the user.

Own stupid mistake in r55214 refactor.

8 years agofix for minor glitch in recent addition to create faces from partial selections.
Campbell Barton [Wed, 13 Mar 2013 14:54:47 +0000 (14:54 +0000)]
fix for minor glitch in recent addition to create faces from partial selections.
BM_edge_exists() would return an edge if both verts passed match, now assert instead.

8 years agoReport timing compositor statistics when running in background mode.
Sergey Sharybin [Wed, 13 Mar 2013 14:50:36 +0000 (14:50 +0000)]
Report timing compositor statistics when running in background mode.

This would help figuring out time spent on compositing, helpful for
render farms.

8 years agoDisable viewer nodes and previews when rendering in background mode
Sergey Sharybin [Wed, 13 Mar 2013 14:50:33 +0000 (14:50 +0000)]
Disable viewer nodes and previews when rendering in background mode

This node and operations are not useful in background mode anyway,
but calculating them could be really time-consuming especially
when working on 4K frames.

8 years agoFix node group drawing not taking into account DPI properly.
Brecht Van Lommel [Wed, 13 Mar 2013 14:19:57 +0000 (14:19 +0000)]
Fix node group drawing not taking into account DPI properly.

8 years agoFix write past end of array in recent texture sampling refactoring commit, and
Brecht Van Lommel [Wed, 13 Mar 2013 14:19:55 +0000 (14:19 +0000)]
Fix write past end of array in recent texture sampling refactoring commit, and
a small warning for double const keyword.

8 years agoFix wrong use of enum in UI code to reactive button on mouse over, this worked
Brecht Van Lommel [Wed, 13 Mar 2013 14:19:53 +0000 (14:19 +0000)]
Fix wrong use of enum in UI code to reactive button on mouse over, this worked
only by accident.

8 years agoOutliner: recursive select/deselect visibility and selectable unconditionally
Gaia Clary [Wed, 13 Mar 2013 14:12:17 +0000 (14:12 +0000)]
Outliner: recursive select/deselect visibility and selectable unconditionally

8 years agoFix bevel modifier bug #34611, limit bevel amount needed.
Howard Trickey [Wed, 13 Mar 2013 14:08:12 +0000 (14:08 +0000)]
Fix bevel modifier bug #34611, limit bevel amount needed.

This is a quick fix that perhaps overestimates the point
of first geometry collision, but at least for now it should
allow models that used the old modifier and a too-big
bevel amount to not look awful.

The correct solution to this problem is much more involved
and I'll get to it later.

8 years agoOutliner fix: selecting a bone did not unselect other bones when they are located...
Gaia Clary [Wed, 13 Mar 2013 12:52:44 +0000 (12:52 +0000)]
Outliner fix: selecting a bone did not unselect other bones when they are located in a hidden layer

8 years agoAdd Hebrew glyphs to i18n monospace font.
Irie Shinsuke [Wed, 13 Mar 2013 12:24:10 +0000 (12:24 +0000)]
Add Hebrew glyphs to i18n monospace font.

The glyphs were derived from Droid Sans Hebrew Regular (Widths and
horizontal positions were changed).

8 years agoSome small fixes found while investigating on bug [#34621] I18n Switch Issue When...
Bastien Montagne [Wed, 13 Mar 2013 12:12:13 +0000 (12:12 +0000)]
Some small fixes found while investigating on bug [#34621] I18n Switch Issue When Gimbal and Rotation Manipulator On

8 years agocode cleanup: use const events for modal and invoke operators.
Campbell Barton [Wed, 13 Mar 2013 09:03:46 +0000 (09:03 +0000)]
code cleanup: use const events for modal and invoke operators.

8 years agopatch [#34604] Add DPI read write for BMP and OpenEXR format
Campbell Barton [Wed, 13 Mar 2013 07:16:53 +0000 (07:16 +0000)]
patch [#34604] Add DPI read write for BMP and OpenEXR format

8 years agofix for crash with laplacian smooth when unselected ngons were used, volume calculati...
Campbell Barton [Wed, 13 Mar 2013 06:32:08 +0000 (06:32 +0000)]
fix for crash with laplacian smooth when unselected ngons were used, volume calculation assumed unselected face were not ngons.

- added convenience function BM_face_calc_tessellation() to get triangles from an ngon.
- expose volume function as BM_mesh_calc_volume().

8 years agocode cleanup: remove bmesh subdivide header, all definitions can be included in bmo_s...
Campbell Barton [Wed, 13 Mar 2013 05:33:23 +0000 (05:33 +0000)]
code cleanup: remove bmesh subdivide header, all definitions can be included in bmo_subdivide.c.
also only initialize random numbers when fractal option is set.

8 years agostyle cleanup: also remove unused defines in paint_image.c
Campbell Barton [Wed, 13 Mar 2013 05:23:53 +0000 (05:23 +0000)]
style cleanup: also remove unused defines in paint_image.c

8 years agoTexture sampling function refactoring:
Antony Riakiotakis [Wed, 13 Mar 2013 03:46:22 +0000 (03:46 +0000)]
Texture sampling function refactoring:


Separate the sculpt sampling function so that it can be reused
from other paint systems. This includes updating of the relevant
coordinates for anchored and rake style brushes, which are now
being updated as part of the stroke system.

I left only code for area-style brush texture mapping in sculpt
code, since it requires a few data structures not present on other
paint systems.

This commit makes it almost as easy to support rake on other systems as
exposing the python UI for it. Also it makes it totally possible to
have texture painting capabilities in vertex paint too :) These commits
will follow very soon.

Also, even if I did my best to keep the code from breaking, (even fixed a
leftover bug from coordinate changes) this is a big change. Please test!

8 years agostyle cleanup
Campbell Barton [Tue, 12 Mar 2013 21:46:33 +0000 (21:46 +0000)]
style cleanup

8 years agoPatch #34204: [Render Animation] Fails with "Error: Specified sample_fmt is not suppo...
Sergey Sharybin [Tue, 12 Mar 2013 16:57:14 +0000 (16:57 +0000)]
Patch #34204: [Render Animation] Fails with "Error: Specified sample_fmt is not supported" with ogg vorbis

Patch by Jehan Pages (pardon for mis-typing, emacs-nox works not so good with
urf-8 buffers here), with some own modifications. Thanks!

From the patch tracker:

The problem is because of several versions of ffmpeg, but even more because of
the fork situation libav/ffmpeg. So there are some installed versions out there
where you *must* use a float sample for some codec; whereas oppositely on some
other installations, you *must* use the int sample. So for some people, one
works not the other, and reciprocally.

As a consequence, you can't just have a switch codec-based, like in current
code, which decides on the float or int implementation, you must necessarily
have a runtime test because you won't know until then if ogg vorbis will use
one or another sample (note: that's true also for AC3 as I fixed the exact same
bug in DVDStyler for AC3 encoding a few months ago; and I guess it would be same
for AAC).

Some notes from self:
- New FFmpeg requires using FLTP for AAC, AC3 and Vorbis, it's not supported
  by audaspace and result in this case would be just wrong. Throw an error
  in cases FLTP is trying to be used.
- Moved strict_std_compliance a bit upper. When we'll support FLTP both
  FLT and FLTP for AAC would need to be using FF_COMPLIANCE_EXPERIMENTAL.
- It is nice to have such check of supported by codec formats anyway.

8 years agoPatch #34569: Enable PNG Codec for video output
Sergey Sharybin [Tue, 12 Mar 2013 16:09:23 +0000 (16:09 +0000)]
Patch #34569: Enable PNG Codec for video output

By Gottfried Hofmann, thanks!

8 years agochange defaults for window state on X11 (yet again), after further discussion.
Campbell Barton [Tue, 12 Mar 2013 14:55:52 +0000 (14:55 +0000)]
change defaults for window state on X11 (yet again), after further discussion.

instead use a fixed size as a default, clamp by the desktop size and add some padding (to account for title bar and panel).

8 years agoPrint compositor execution statistics when in background mode
Sergey Sharybin [Tue, 12 Mar 2013 14:28:52 +0000 (14:28 +0000)]
Print compositor execution statistics when in background mode

This will print memory usage, mapped memory usage, memory peak,
compositing tree name and number of finished tiles to stdout
when blender is rendering in background mode.

This makes compositor a less blackbox and should help trouble
shooting issues happening during 4K ToS project.

8 years agoFix for strict compiler's flags
Sergey Sharybin [Tue, 12 Mar 2013 14:06:18 +0000 (14:06 +0000)]
Fix for strict compiler's flags

8 years agoFix for crash in special cases when mixing translate node with other
Sergey Sharybin [Tue, 12 Mar 2013 14:04:58 +0000 (14:04 +0000)]
Fix for crash in special cases when mixing translate node with other

Issue was caused by calling ensureDelta from initexecution, which will
read pixels from an input and it could read from non-initialized

Issue was originally introduced in svn rev54235 which added ensureDelta
to translate's initExecution, but since rev54349 this call seems to be
doing nothing.

8 years agoTemp fix for stupid -Wformat-security issue.
Bastien Montagne [Tue, 12 Mar 2013 13:18:39 +0000 (13:18 +0000)]
Temp fix for stupid -Wformat-security issue.

Also makes more use of BLI_snprintf, and makes more consistent code acrross all "header strings" generation in transform.c.

8 years agoOuliner: Added recursive setting of (visibility/selectability) for bones (Edit- and...
Gaia Clary [Tue, 12 Mar 2013 13:03:58 +0000 (13:03 +0000)]
Ouliner: Added recursive setting of (visibility/selectability) for bones (Edit- and Object-mode)

8 years agoreplace sprintf -> strcpy where its not needed.
Campbell Barton [Tue, 12 Mar 2013 12:47:57 +0000 (12:47 +0000)]
replace sprintf -> strcpy where its not needed.

8 years agoChanging image ID datablock fomr browser in Image node didn't change output sockets
Sergey Sharybin [Tue, 12 Mar 2013 11:03:50 +0000 (11:03 +0000)]
Changing image ID datablock fomr browser in Image node didn't change output sockets

Which lead to either multilayer sockets hanging around when switching image from
multilayer to singlelayer, or missing layers outputs when switching from single
to multilayer image.

8 years agoFixe related on #34608: MultiLayer OpenEXR (from Maya) - passes lost in Compositor...
Sergey Sharybin [Tue, 12 Mar 2013 10:34:14 +0000 (10:34 +0000)]
Fixe related on #34608: MultiLayer OpenEXR (from Maya) - passes lost in Compositor Image Node

imb_exr_split_channel_name didn't set any value to layer and pass names,
leaving them uninitialized.

This is likely solves initial report, but will know for sure after testing
windows build only.

8 years agoWoops, installing dlls shall happen after all the folders are created.
Sergey Sharybin [Tue, 12 Mar 2013 09:24:52 +0000 (09:24 +0000)]
Woops, installing dlls shall happen after all the folders are created.

8 years agoMade a mistake in recent windows buildbot tweaks.
Sergey Sharybin [Tue, 12 Mar 2013 09:19:38 +0000 (09:19 +0000)]
Made a mistake in recent windows buildbot tweaks.
Didn't count indentation correct..

8 years agocode cleanup: quiet struct gcc warnings, also use more conventional names for bmesh...
Campbell Barton [Tue, 12 Mar 2013 08:50:02 +0000 (08:50 +0000)]
code cleanup: quiet struct gcc warnings, also use more conventional names for bmesh dissolve.

8 years agofix own regression in 2.66 [#34610] Text editor: Syntax highlighting freezes
Campbell Barton [Tue, 12 Mar 2013 08:46:12 +0000 (08:46 +0000)]
fix own regression in 2.66 [#34610] Text editor: Syntax highlighting freezes

8 years agoFix compilation error after recent changes to strict gcc flags
Sergey Sharybin [Tue, 12 Mar 2013 08:24:36 +0000 (08:24 +0000)]
Fix compilation error after recent changes to strict gcc flags

Dudes, please try building blender with all default features
before doing such a commits. It helps just a lot when bisecting
issues later.

Also solved const qualifier discard happens in recent monofont

8 years agoFix #34599: Mask nodes stop working if output is later piped through HSV node
Sergey Sharybin [Tue, 12 Mar 2013 08:24:30 +0000 (08:24 +0000)]
Fix #34599: Mask nodes stop working if output is later piped through HSV node

Issue was caused by the fix for #33650 which changed way to check whether
operation resolution is set or not from checking dimensions are zero to
setResolution was ever called.

Such change lead to conflict with MixBase operation (used for Mix node) which
uses temporary zero resolution to check whether input socket resolution is
known. This leads to zero resolution setting to that branch of tree. After this
resolution will never set to it's actual value.

For now solved by changing logic how MixBase operation detects resolution.
Namely instead of using trick with temporary zero resolution and calling
determineResolution for all inputs, and then call base class's method to
determine resolution just once again, check whether input socket is connected
and if so use it's resolution.

Shall not be regressions for real-life trees, but keeping an eye on this and
doing more tests is for sure welcome.

8 years agoPatch [#34373] Use i18n monospace font in Text editor and Python console
Irie Shinsuke [Tue, 12 Mar 2013 07:25:53 +0000 (07:25 +0000)]
Patch [#34373] Use i18n monospace font in Text editor and Python console

This patch allows Blender to display i18n monospace font in the text
editor and the Python interactive console. Wide characters that occupy
multiple columns such as CJK characters can be displayed correctly.
Furthermore, wrapping, selection, suggestion, cursor drawing, and
syntax highlighting should work.

Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic

To estimate how many columns each character occupies, this patch uses
wcwidth.c written by Markus Kuhn and distributed under MIT-style license:

wcwidth.c is stored in extern/wcwidth and used as a static library.

This patch adds new API to blenfont, blenlib and blenkernel:


8 years agoAdd i18n monospace font (bmonofont-i18n.ttf) which will be used for the text editor...
Irie Shinsuke [Tue, 12 Mar 2013 07:07:04 +0000 (07:07 +0000)]
Add i18n monospace font (bmonofont-i18n.ttf) which will be used for the text editor and interactive console

This is a mixed font based on DejaVu Sans Mono and including M+1M
Regular and Wen Quan Yi Micro Hei Mono. Versions and licenses of the
included fonts are as follows:

- DejaVu fonts: version 2.33, Bitstream font license and Arev font license and public domain
- M+ fonts: TESTFLIGHT 54, M+ font license
- Wen Quan Yi Micro Hei fonts: version 0.2.0-beta, GPLv3 with font embedding exception or Apache2.0

The font license docs will be added later.

8 years agoruler: disable rotate with ruler drawing, was drawing too pixelated and hard to read.
Campbell Barton [Tue, 12 Mar 2013 06:25:06 +0000 (06:25 +0000)]
ruler: disable rotate with ruler drawing, was drawing too pixelated and hard to read.

8 years agobmesh: dissolve, avoid unnecessary loop in test_extra_verts(), also minor code cleanup.
Campbell Barton [Tue, 12 Mar 2013 05:48:30 +0000 (05:48 +0000)]
bmesh: dissolve, avoid unnecessary loop in test_extra_verts(), also minor code cleanup.

8 years agobmesh: maintain active face when dissolving.
Campbell Barton [Tue, 12 Mar 2013 05:36:43 +0000 (05:36 +0000)]
bmesh: maintain active face when dissolving.

8 years agouse gcc warning -Wredundant-decls, exposes some odd/duplicate declarations which...
Campbell Barton [Mon, 11 Mar 2013 20:27:38 +0000 (20:27 +0000)]
use gcc warning -Wredundant-decls, exposes some odd/duplicate declarations which have been removed.

8 years agoFix for [#34598] Modifier-Icon in Outliner does not appear
Thomas Dinges [Mon, 11 Mar 2013 19:50:11 +0000 (19:50 +0000)]
Fix for [#34598] Modifier-Icon in Outliner does not appear
* OBJECT_OT_make_links_scene did only trigger an 3D View update which was insufficient for Outliner (modifiers for example) and also some parts inside the Properties Editor (Mesh Data, Material Data).

8 years agoMinor cleanup: We always use colour correction now for float buffers. Get rid of...
Antony Riakiotakis [Mon, 11 Mar 2013 18:40:43 +0000 (18:40 +0000)]
Minor cleanup: We always use colour correction now for float buffers. Get rid of flag variable.

8 years agoFix #34589. There was no space conversion being done between layers in
Antony Riakiotakis [Mon, 11 Mar 2013 18:11:07 +0000 (18:11 +0000)]
Fix #34589. There was no space conversion being done between layers in
different colour space when using the clone brush.

8 years agocode cleanup:
Campbell Barton [Mon, 11 Mar 2013 16:23:33 +0000 (16:23 +0000)]
code cleanup:
- move recursive bone/parent check into ED_armature.h
- remove unused vars
- use const for paint vector args.

8 years agoOuliner: Added recursive select of (visible) bones (Edit- and Object-mode)
Gaia Clary [Mon, 11 Mar 2013 16:02:16 +0000 (16:02 +0000)]
Ouliner: Added recursive select of (visible) bones (Edit- and Object-mode)

8 years agoFix more UI i18n issues (reported by Leon Cheung).
Bastien Montagne [Mon, 11 Mar 2013 15:01:03 +0000 (15:01 +0000)]
Fix more UI i18n issues (reported by Leon Cheung).

8 years agoMixed paths to redist libraries in recent commit
Sergey Sharybin [Mon, 11 Mar 2013 14:16:41 +0000 (14:16 +0000)]
Mixed paths to redist libraries in recent commit

8 years agoColormanagement: Fix issue with colorspaces' description too short, and reduce usage...
Bastien Montagne [Mon, 11 Mar 2013 11:15:05 +0000 (11:15 +0000)]
Colormanagement: Fix issue with colorspaces' description too short, and reduce usage of magic numbers.

8 years agoFix #34511: Invalid Audio/Video codec combination produces hung filehandle
Sergey Sharybin [Mon, 11 Mar 2013 11:09:57 +0000 (11:09 +0000)]
Fix #34511: Invalid Audio/Video codec combination produces hung filehandle

8 years agoWindows buildbot tweaks
Sergey Sharybin [Mon, 11 Mar 2013 10:49:51 +0000 (10:49 +0000)]
Windows buildbot tweaks

Make it so install directory is being nicely
cleaned before next build, which makes it
automatically removing all old files from
previous installations.

8 years agoFix first regression introduced with r55173: need to import shutil before using metho...
Sergey Sharybin [Mon, 11 Mar 2013 09:11:46 +0000 (09:11 +0000)]
Fix first regression introduced with r55173: need to import shutil before using methods from it
Otherwise linux buildbot fails dramatically.

That revision also leads to msvc runtime libs being removed, will fix this
in separate commit.

Take more respect for such creepy as linux and windows platforms, they're not so bad!

8 years agoFix more UI i18n issues (reported by Leon Cheung and Lockal).
Bastien Montagne [Mon, 11 Mar 2013 09:06:49 +0000 (09:06 +0000)]
Fix more UI i18n issues (reported by Leon Cheung and Lockal).

We have a glicth with colormanagement's spaces descriptions, though, looks like they are clamped at 64 chars (see raw space), will see that later, if it’s solvable.

8 years agocode cleanup: pep8 & minor changes
Campbell Barton [Mon, 11 Mar 2013 02:19:58 +0000 (02:19 +0000)]
code cleanup: pep8 & minor changes

8 years agoRenaming "" to ""
Joshua Leung [Mon, 11 Mar 2013 01:59:48 +0000 (01:59 +0000)]
Renaming "" to ""

The code in this file is NOT restricted to use in object context only. Renaming
it makes it easier to find this file (taking in account name truncations).

8 years agoAnother attempt to reduce the confusion between Object and Bone constraints
Joshua Leung [Mon, 11 Mar 2013 01:53:21 +0000 (01:53 +0000)]
Another attempt to reduce the confusion between Object and Bone constraints

* The wording on the "Add Constraint" dropdown has been changed so that there is
no ambiguitiy about which tab is currently selected. That is, it now mentions
whether these are object or bone constraints, so that users don't need to try
and look up at the header to check.

* Show the warning about Ob vs Bone constraints when in armature editmode too.

8 years agoJitter: Change UI. Now use lock icon to indicate relative jitter, tied
Antony Riakiotakis [Mon, 11 Mar 2013 01:46:22 +0000 (01:46 +0000)]
Jitter: Change UI. Now use lock icon to indicate relative jitter, tied
to brush size, and unlock icon to indicate absolute jitter untied to
brush size, in screen pixels. Also relative jitter now has soft UI limit
of 2.0 and a hard limit of 1000 times the size of the brush. Should be
enough for the most vivid imaginations...I hope!

8 years agoFeature request for all paint systems that support it: Jittering in
Antony Riakiotakis [Sun, 10 Mar 2013 20:05:18 +0000 (20:05 +0000)]
Feature request for all paint systems that support it: Jittering in
absolute coordinates. This allows an artist to lower the brush radius
while keeping the spread of the brush constant. A toggle under the
jitter slider provides the option to switch between relative/absolute.

8 years agoFix [#34561]: Possible smoke crash if smoke flow had lower density than adaptive...
Miika Hamalainen [Sun, 10 Mar 2013 19:12:40 +0000 (19:12 +0000)]
Fix [#34561]: Possible smoke crash if smoke flow had lower density than adaptive domain "threshold".

8 years agoFix: Vertex weight color calculation tried to use NULL pointer when called through...
Miika Hamalainen [Sun, 10 Mar 2013 19:10:20 +0000 (19:10 +0000)]
Fix: Vertex weight color calculation tried to use NULL pointer when called through DM_update_weight_mcol(). (Introduced in r55062.)

8 years agoFix: stroke spacing fails in image editor, we need to account for
Antony Riakiotakis [Sun, 10 Mar 2013 18:46:31 +0000 (18:46 +0000)]
Fix: stroke spacing fails in image editor, we need to account for
zooming because spacing used to happen in unscaled screen space

8 years agoMore cruft remove for 2d painting. Remove functions from brush interface
Antony Riakiotakis [Sun, 10 Mar 2013 18:05:13 +0000 (18:05 +0000)]
More cruft remove for 2d painting. Remove functions from brush interface
that were in fact 2d painting specific. Also remove old stroke managing
function completely.

8 years agoFix scons build error after recent commit, missing include.
Brecht Van Lommel [Sun, 10 Mar 2013 17:52:29 +0000 (17:52 +0000)]
Fix scons build error after recent commit, missing include.

8 years agoBuildbot: mac configuration files for i386 and x86_64.
Brecht Van Lommel [Sun, 10 Mar 2013 17:45:31 +0000 (17:45 +0000)]
Buildbot: mac configuration files for i386 and x86_64.

8 years agoMore UI message i18n fixes and improvements...
Bastien Montagne [Sun, 10 Mar 2013 17:42:08 +0000 (17:42 +0000)]
More UI message i18n fixes and improvements...
Fix for keyingsets tips, and make them (and a few others) findable by i18n messages extracting code (for some reasons, their bl_rna.description are void???).

8 years agoTexpaint refactor complete!
Antony Riakiotakis [Sun, 10 Mar 2013 17:40:55 +0000 (17:40 +0000)]
Texpaint refactor complete!

* Projection painting files reside in paint_image_proj.c
* 2d projection files reside in paint_image_2d.c
* Common operator/paint operation code resides in paint_image.c

All old code layout is out. Phew...Now we can at least concentrate on
each system separately when debugging this beast. We could even separate
the paint structs for 2d/projective more easily should we choose to do

8 years agoAdded menu entry for recursive hierarchy selec in outliner
Gaia Clary [Sun, 10 Mar 2013 17:19:03 +0000 (17:19 +0000)]
Added menu entry for recursive hierarchy selec in outliner

8 years agoMore UI message i18n fixes and improvements...
Bastien Montagne [Sun, 10 Mar 2013 16:55:01 +0000 (16:55 +0000)]
More UI message i18n fixes and improvements...
Rendering messages are now translatable.

8 years agoMore UI message i18n fixes and improvements...
Bastien Montagne [Sun, 10 Mar 2013 16:14:29 +0000 (16:14 +0000)]
More UI message i18n fixes and improvements...

8 years agoOpenGL: more work on fixed function lighting implementation as GLSL.
Brecht Van Lommel [Sun, 10 Mar 2013 15:38:23 +0000 (15:38 +0000)]
OpenGL: more work on fixed function lighting implementation as GLSL.

* Rename functions and move to own header.
* Add wrapper functions for glLight.
* Auto detect if we can use faster code for solid lighting.
* Various fixes for textured draw mode.

8 years agoMore UI message i18n fixes and improvements...
Bastien Montagne [Sun, 10 Mar 2013 14:57:19 +0000 (14:57 +0000)]
More UI message i18n fixes and improvements...

8 years agouse crosshair cursor for the ruler.
Campbell Barton [Sun, 10 Mar 2013 14:44:16 +0000 (14:44 +0000)]
use crosshair cursor for the ruler.

8 years agoBugfix #34365
Ton Roosendaal [Sun, 10 Mar 2013 14:30:24 +0000 (14:30 +0000)]
Bugfix #34365

Tiny tweak.

Dragging option (cursor change) for region dividers in editors was having an
un-even sensitivity hotspot. This conflicted with header buttons for example,
where the hotspot and bottons overlapped.

Now the hotspot is around the region-edge evenly.

8 years agoRigid body UI: add translation to materials' names (density collection).
Bastien Montagne [Sun, 10 Mar 2013 13:37:14 +0000 (13:37 +0000)]
Rigid body UI: add translation to materials' names (density collection).