8 years agosvn merge ^/trunk/blender -r55594:55635
Campbell Barton [Wed, 27 Mar 2013 22:24:38 +0000 (22:24 +0000)]
svn merge ^/trunk/blender -r55594:55635

8 years agostyle cleanup: osl and NULL pointer use, also correct sequencer gap operator id's
Campbell Barton [Wed, 27 Mar 2013 20:27:07 +0000 (20:27 +0000)]
style cleanup: osl and NULL pointer use, also correct sequencer gap operator id's

8 years agoCycles / SunSky:
Thomas Dinges [Wed, 27 Mar 2013 19:44:25 +0000 (19:44 +0000)]
Cycles / SunSky:
* Use already calculated theta^2 for theta^3 calculation.

8 years agoI18n fixes for C panels & menus (we have to specify the default bpyrna context here...
Bastien Montagne [Wed, 27 Mar 2013 19:09:50 +0000 (19:09 +0000)]
I18n fixes for C panels & menus (we have to specify the default bpyrna context here, else we get the horrible "empty" string (as translation_context of panels is an array, not a pointer, so it's never NULL).

8 years agoCode cleanup / Cycles:
Thomas Dinges [Wed, 27 Mar 2013 19:08:29 +0000 (19:08 +0000)]
Code cleanup / Cycles:
* Remove unused variable from noise_wave().

8 years agoCMake fix: OpenEXR and Tiff are linking dependencies of OIIO, and fix for Boost-Cycle...
Dalai Felinto [Wed, 27 Mar 2013 18:44:46 +0000 (18:44 +0000)]
CMake fix: OpenEXR and Tiff are linking dependencies of OIIO, and fix for Boost-Cycles-OIIO order

The NOT BOOST test was changing Cycles so should be before the
cycles-oiio link (by Campbell Barton, thanks)

And exr and tiff are required for oiio (on OSX at least)

8 years agoSequencer
Ton Roosendaal [Wed, 27 Mar 2013 18:31:18 +0000 (18:31 +0000)]

"Insert Gap" and "Remove Gap" tooltip fix - to denote this doesn't use selection.
The use of this tool is to insert or remove time for a timeline.

8 years agoNode Editor
Ton Roosendaal [Wed, 27 Mar 2013 18:28:25 +0000 (18:28 +0000)]
Node Editor

To complete previous commit:

New "Activate same type next/prev" operator - replaces the two not working previous ones.
This selects/activates and views the next or previous node of same type.

Shortcuts: Shift ] and Shift [

8 years agoFix for Node Editor tool "Find next/prev of same type".
Ton Roosendaal [Wed, 27 Mar 2013 17:22:12 +0000 (17:22 +0000)]
Fix for Node Editor tool "Find next/prev of same type".

This is the first half of the commit, it's going to be reviewed further.
It also depends on other work in node drawing (to not reshuffle order on
every select/activate).

At least it works quite nice for the shortcuts shift [ and shift ]

8 years agoFix #34785: only one curve cap is visible while backface culling is enabled
Sergey Sharybin [Wed, 27 Mar 2013 16:33:49 +0000 (16:33 +0000)]
Fix #34785: only one curve cap is visible while backface culling is enabled

Simply extra normals flip happened.

8 years agoBug report #34775
Ton Roosendaal [Wed, 27 Mar 2013 13:28:51 +0000 (13:28 +0000)]
Bug report #34775

Packed file print was misleading (no files packed).
It should be "no new files packed".

8 years agoTiny fix for sequencer:
Ton Roosendaal [Wed, 27 Mar 2013 12:29:00 +0000 (12:29 +0000)]
Tiny fix for sequencer:

"View selected strip(s)" now includes the active strip (which can be deselected
in cases). Less confusing this way, also because active strip is being drawn
very visible.

8 years agoFix #34779: Channels disappear from multilayer exr sequence
Sergey Sharybin [Wed, 27 Mar 2013 11:26:10 +0000 (11:26 +0000)]
Fix #34779: Channels disappear from multilayer exr sequence

Issue was caused by delayed or missing image user frame
number update, which lead to image loading failure in
cases node is updating from image signal callback.

Solved in a way that file from image datablock is used
for sockets detection instead of loading image for
current frame.

8 years agoapi cleanup: replace BMO_vert_edge_flags_count() with more reusable function - BMO_it...
Campbell Barton [Wed, 27 Mar 2013 10:14:09 +0000 (10:14 +0000)]
api cleanup: replace BMO_vert_edge_flags_count() with more reusable function - BMO_iter_elem_count_flag().
closely matching existing BM_iter_elem_count_flag() function but checks tool-flags instead.

8 years agoFix for timing print in renders.
Ton Roosendaal [Wed, 27 Mar 2013 10:05:31 +0000 (10:05 +0000)]
Fix for timing print in renders.

The time it was printing was excluding the time spent on color and file saving.
Now it includes this too, plus it prints the time spent on color/files.

Makes quite a difference when you do sequencer conversions or grading in
terminals - time that was printed was very misleading.

For readablity of logs, also added an extra empty line after this print.

8 years agoFix [#34768] Out of bounds access in console selection.
Irie Shinsuke [Wed, 27 Mar 2013 09:57:34 +0000 (09:57 +0000)]
Fix [#34768] Out of bounds access in console selection.

txt_utf8_column_to_offset(): don't advance the offset anymore if a null character is found.

8 years agoWhy oh why makesrna is split into two separate scons files..
Sergey Sharybin [Wed, 27 Mar 2013 08:06:07 +0000 (08:06 +0000)]
Why oh why makesrna is split into two separate scons files..

Fixed missing audio devices when building with scons

8 years agofix for mesh face filling when a valid edge-loop was selected but unselected connecti...
Campbell Barton [Wed, 27 Mar 2013 07:54:11 +0000 (07:54 +0000)]
fix for mesh face filling when a valid edge-loop was selected but unselected connecting geometry existed inside the loop.

In this case edgenet_fill operator failed and it would fallback to filling as unordered vertices which was mostly fine but failed on some concave loops.

Add a new bmesh operator 'edgeloop_fill' fills in closed loops even if they don't make a valid edge-net.

8 years agoFix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions
Sergey Sharybin [Wed, 27 Mar 2013 07:19:54 +0000 (07:19 +0000)]
Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions

Added new build option WITH_JACK_DYNLOAD for CMake and
WITH_BF_JACK_DYNLOAD for SCons, which means there'll be
no build-time linking against libjack and getting symbols
from libjack will happen runtime using dlopen and dlsym

Alternative would be to use weak linking, but it'll require
having wrapper for preloading libjack.

This new options are disabled by default and they only
intended to be used on linux. Other platforms shall not
be using this and there shall be no functional changes
on non-linux platforms at all.

8 years agoapi cleanup: move edgenet bmesh operator into its own file.
Campbell Barton [Wed, 27 Mar 2013 06:49:16 +0000 (06:49 +0000)]
api cleanup: move edgenet bmesh operator into its own file.

8 years agoapi cleanup: split part of BM_face_create_ngon_vcloud() into a new function BM_face_c...
Campbell Barton [Wed, 27 Mar 2013 05:52:28 +0000 (05:52 +0000)]
api cleanup: split part of BM_face_create_ngon_vcloud() into a new function BM_face_create_ngon_verts(),
a function to create a bmesh face from an ordered vertex array, optionally creating edges and calculating winding.

8 years agocode cleanup: quiet shadow warnings
Campbell Barton [Wed, 27 Mar 2013 04:41:20 +0000 (04:41 +0000)]
code cleanup: quiet shadow warnings

8 years agoFix for Freestyle edge/face marks not working with most modifiers (except for Subdivi...
Tamito Kajiyama [Wed, 27 Mar 2013 02:06:36 +0000 (02:06 +0000)]
Fix for Freestyle edge/face marks not working with most modifiers (except for Subdivision Surface).

8 years agofix [#34776] Linking the group in this .blend causes crash with this starting scene
Campbell Barton [Tue, 26 Mar 2013 23:46:54 +0000 (23:46 +0000)]
fix [#34776] Linking the group in this .blend causes crash with this starting scene

disallow linked objects to be in editmode.

8 years agostyle cleanup
Campbell Barton [Tue, 26 Mar 2013 22:45:06 +0000 (22:45 +0000)]
style cleanup

8 years agomove FOREACH_NODETREE internal checks into functions.
Campbell Barton [Tue, 26 Mar 2013 22:37:41 +0000 (22:37 +0000)]
move FOREACH_NODETREE internal checks into functions.

8 years agoPaint system:
Antony Riakiotakis [Tue, 26 Mar 2013 21:34:39 +0000 (21:34 +0000)]
Paint system:
Random texture mapping
* Support for 2d painting.
* Better random generation and useof the result.

8 years agoreport [#34772] Incorrect aspect for tex mapping from camera view
Campbell Barton [Tue, 26 Mar 2013 21:26:44 +0000 (21:26 +0000)]
report [#34772] Incorrect aspect for tex mapping from camera view

There was no good way to UV project from a camera with non-square view-border without it stretching the image (even using 'Correct Aspect').

While this isnt a bug its useful to do a UV projection without stretching the image, added 'Camera Bounds' option.

8 years agouv project tool: take scene aspect into account when calculating the camera bounds.
Campbell Barton [Tue, 26 Mar 2013 20:51:43 +0000 (20:51 +0000)]
uv project tool: take scene aspect into account when calculating the camera bounds.

8 years agosequencer gaps
Campbell Barton [Tue, 26 Mar 2013 20:34:13 +0000 (20:34 +0000)]
sequencer gaps
- remove unneeded checks (poll checks editor is non-null)
- use booleans
- rename operator SEQUENCER_OT_gap_remove, _gap_insert

also quiet shadow warning in rigidbody.c (shadowing 'loc')

8 years agoBug fix - own collection.
Ton Roosendaal [Tue, 26 Mar 2013 17:49:57 +0000 (17:49 +0000)]
Bug fix - own collection.

- Scopes in Sequencer were not drawing OK (drawing code assumed alpha)
- Histogram in Sequencer now uses same formula to quantify R G B as the
  other histogram in Blender (per channel).

I seriously thought of dropping this, and add the same sidebar here as we
have for Image window. However, what stops me is that current code is
very optimized, and has OMP hints.

Will check instead on cleaner drawing here now.

8 years agoFix regression introduced by svn rev55545
Sergey Sharybin [Tue, 26 Mar 2013 15:52:43 +0000 (15:52 +0000)]
Fix regression introduced by svn rev55545

After this revision BLI_stringdec worked incorrect
in cases there's no digits in original file name,
making head one character shorter than it should be.

Time to cover BLI with unit-tests?

8 years agoWrong soft/hard limits used in r55600
Sergey Sharybin [Tue, 26 Mar 2013 15:48:20 +0000 (15:48 +0000)]
Wrong soft/hard limits used in r55600

8 years agoSequencer usability:
Ton Roosendaal [Tue, 26 Mar 2013 15:00:56 +0000 (15:00 +0000)]
Sequencer usability:

Brought back old tools "Remove Gap(s)" and "Insert Gap".
It's actually one of the first tools I ever coded for it in 90ies, so useful!

* Remove Gap(s)

This checks if there's no strip at a given position, and slides all strips
together to the left, until the gap is closed.

- BackSpace key, remove gap at current frame (or first gap at right of frame)
- SHIFT+BackSpace, remove all gaps at or to right of current frame.

* Insert Gap

Shifts all strips to right of current frame with 10 frames. (Amount can be
set in Toolbar redo panel).

8 years agoI18n: various "new data translation" fixes...
Bastien Montagne [Tue, 26 Mar 2013 14:33:53 +0000 (14:33 +0000)]
I18n: various "new data translation" fixes...

8 years agoCorrection to recent prefetch commit
Sergey Sharybin [Tue, 26 Mar 2013 12:45:10 +0000 (12:45 +0000)]
Correction to recent prefetch commit

When using movie as a clip no need to prefetch in cases
no proxies are sued at this moment.

8 years agoBetter fix for "To Sphere" crashing in Image editor. It appeared to be in use for
Ton Roosendaal [Tue, 26 Mar 2013 10:28:19 +0000 (10:28 +0000)]
Better fix for "To Sphere" crashing in Image editor. It appeared to be in use for
mask/uv modes.

8 years agoFreestyle changes:
Sergey Sharybin [Tue, 26 Mar 2013 09:59:43 +0000 (09:59 +0000)]
Freestyle changes:

- Revert some stylistic changes made in branch
  They weren't directly related on freestyle project
  and better be handled in trunk. Helps reading patches
  ad prevents possible merge conflicts.

- Solved issue introduced with recent deprecation of

8 years agoMerging r55547 through r55594 from trunk into soc-2008-mxcurioni
Sergey Sharybin [Tue, 26 Mar 2013 09:09:31 +0000 (09:09 +0000)]
Merging r55547 through r55594 from trunk into soc-2008-mxcurioni

8 years agoFreestyle: fix crash unlinking object
Sergey Sharybin [Tue, 26 Mar 2013 08:32:53 +0000 (08:32 +0000)]
Freestyle: fix crash unlinking object

Was getting an address of pointer variable.

8 years agoFreestyle: fix compilation with strict flags used
Sergey Sharybin [Tue, 26 Mar 2013 08:05:56 +0000 (08:05 +0000)]
Freestyle: fix compilation with strict flags used

8 years agogrease pencil eraser mouse-wheel resize was inverted compared to circle-select.
Campbell Barton [Tue, 26 Mar 2013 07:44:48 +0000 (07:44 +0000)]
grease pencil eraser mouse-wheel resize was inverted compared to circle-select.

8 years agogrease pencil xray option wasn't being applied to single points in the 3d view.
Campbell Barton [Tue, 26 Mar 2013 07:41:59 +0000 (07:41 +0000)]
grease pencil xray option wasn't being applied to single points in the 3d view.

8 years agostyle cleanup:
Campbell Barton [Tue, 26 Mar 2013 07:29:01 +0000 (07:29 +0000)]
style cleanup:
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.

8 years agofix [#34658] GreasePencil eraser deletes strokes through geometry, surfacemode
Campbell Barton [Tue, 26 Mar 2013 06:07:21 +0000 (06:07 +0000)]
fix [#34658] GreasePencil eraser deletes strokes through geometry, surfacemode

add depth check to grease pencil eraser when xray option is disabled.

8 years agofix [#34698] Axis Locking works incorrect
Campbell Barton [Tue, 26 Mar 2013 03:36:18 +0000 (03:36 +0000)]
fix [#34698] Axis Locking works incorrect
don't do projection when constraints are used.

8 years agoreplace view3d_get_view_aligned_coordinate with ED_view3d_win_to_3d_int()
Campbell Barton [Tue, 26 Mar 2013 02:37:29 +0000 (02:37 +0000)]
replace view3d_get_view_aligned_coordinate with ED_view3d_win_to_3d_int()

8 years agoimprove beauty-fill tool for non-flat triangles.
Campbell Barton [Tue, 26 Mar 2013 01:49:55 +0000 (01:49 +0000)]
improve beauty-fill tool for non-flat triangles.
Project the triangle pair into 2d coords before measuring.

before/after -

note: I committed this r54403 but it caused eternal looping so I reverted for 2.66 release.
ran extensive tests and its not giving problems so re-applying this improvement.

8 years agomisc minor changes
Campbell Barton [Tue, 26 Mar 2013 01:46:12 +0000 (01:46 +0000)]
misc minor changes
- make it clear that navmesh visualize option only works in path mode.
- use 2 decimal places for motion-blur shutter speed (user request).
- use 'const' for some bmesh functions.

8 years agoedit to VIEW3D_OT_view_center_pick
Campbell Barton [Tue, 26 Mar 2013 01:43:00 +0000 (01:43 +0000)]
edit to VIEW3D_OT_view_center_pick
- pan when nothing is under the mouse
- use key binding alt+f

8 years agoFix for missing CustomData flag updates in the temporary code for migrating
Tamito Kajiyama [Tue, 26 Mar 2013 00:36:43 +0000 (00:36 +0000)]
Fix for missing CustomData flag updates in the temporary code for migrating
Freestyle edge/face marks from old .blend files.
Problem report and patch by IRIE Shinsuke, many thanks!

8 years agoFix for truncated labels in the 3D View properties panel.
Tamito Kajiyama [Tue, 26 Mar 2013 00:32:19 +0000 (00:32 +0000)]
Fix for truncated labels in the 3D View properties panel.
Suggested by Bastien Montagne and IRIE Shinsuke through a code review of the branch.

8 years agofix [#34603] ALT-F fails, freezes, CPU=100%
Campbell Barton [Tue, 26 Mar 2013 00:29:57 +0000 (00:29 +0000)]
fix [#34603] ALT-F fails, freezes, CPU=100%

The way beauty fill was working was too fragile and prone to eternal loops,
Solution used is to is to store previous states and ensure edges don't get rotated back into those.

Also added an optimization to avoid testing the same edge rotation many times - using edge tags to only re-test edge rotations around areas that have been modified.

8 years agointernal changes to beautify fill, use an array of edges that can be rotated, rather...
Campbell Barton [Mon, 25 Mar 2013 23:21:16 +0000 (23:21 +0000)]
internal changes to beautify fill, use an array of edges that can be rotated, rather then looping over all edges each time.

8 years agocode cleanup: operator headers
Campbell Barton [Mon, 25 Mar 2013 22:40:11 +0000 (22:40 +0000)]
code cleanup: operator headers

8 years agocode cleanup: move beautify into its own file (more changes coming)
Campbell Barton [Mon, 25 Mar 2013 22:04:12 +0000 (22:04 +0000)]
code cleanup: move beautify into its own file (more changes coming)

8 years agofix for missing redraw in own commit r55554 (Ctrl+F text editor find).
Campbell Barton [Mon, 25 Mar 2013 21:31:24 +0000 (21:31 +0000)]
fix for missing redraw in own commit r55554 (Ctrl+F text editor find).
since an event wasn't added to the queue no redraws we're done when the panel was already open, instead use a notifier.

8 years agoBug report, IRC:
Ton Roosendaal [Mon, 25 Mar 2013 18:41:28 +0000 (18:41 +0000)]
Bug report, IRC:

Operator "To Sphere" should only be allowed to be called in 3d view.
Crashed in Image editor.

8 years agoFix [#34716] Change Trim Duration (soft) value nothing happening. until mouse drag...
Bastien Montagne [Mon, 25 Mar 2013 17:22:00 +0000 (17:22 +0000)]
Fix [#34716] Change Trim Duration (soft) value nothing happening. until mouse drag footage(image sequence)

As those two properties do not need a custom set func, yet need recalc of strips drawing/positions in addition to usual rna_Sequencer_update() (cache invalidating), I renamed rna_Sequence_frame_change_update to do_sequence_frame_change_update, and made a new rna_Sequence_frame_change_update which is directly usable as RNA update func, and call both the strip and cache update funcs.

Thanks to Sergey for advices!

8 years agoBug fix:
Ton Roosendaal [Mon, 25 Mar 2013 15:45:59 +0000 (15:45 +0000)]
Bug fix:

On screen/area refresh calls the header scroll offset was cleared too.
Probably an old remainder of early 2.5 coding. Should be not needed so much.

8 years agoClip editor prefetching changes
Sergey Sharybin [Mon, 25 Mar 2013 15:32:15 +0000 (15:32 +0000)]
Clip editor prefetching changes

Now prefetching happens from cursor up to scene end frame
and then from cursor down to scene start frame.

Also disabled prefetching for non-unidistorted proxies
because of issues with timecodes (seek horribly fails
in some cases). This seek need to be fixed since it's
actually happens for manual timeline scrubbing as well,
but that's another story..

8 years agoBetter handing of frames below actual sequence range
Sergey Sharybin [Mon, 25 Mar 2013 15:32:11 +0000 (15:32 +0000)]
Better handing of frames below actual sequence range

When trying to load file below actual sequence range
(like trying to load file for scene frame 10 when clip's
start frame is 20) first frame from file sequence is used.

Before this change first file used to be loaded for every
scene frame below start frame, which polluted memory with
unwanted data.

Now first frame would be loaded only once in this case.

8 years agoFix to EnumProperty doc (content of items tuples was rather fuzzy, ways how these...
Bastien Montagne [Mon, 25 Mar 2013 14:46:34 +0000 (14:46 +0000)]
Fix to EnumProperty doc (content of items tuples was rather fuzzy, ways how these "parameters" are interpreted are rather strange, current text should now reflect exactly code's behavior).

8 years agoI18n: use id_windowmanager context for keymap idnames. Solves some issues with those...
Bastien Montagne [Mon, 25 Mar 2013 11:35:42 +0000 (11:35 +0000)]
I18n: use id_windowmanager context for keymap idnames. Solves some issues with those names (notably "Clip" one, and "Screen" too) in some translations. Also move "Key" as "Keyboard" (opposed to "Keyframe") to same context.

8 years agoBugfix [#34749] Fluid domain > 10GB crashes Blender - out of memory
Daniel Genrich [Mon, 25 Mar 2013 11:11:49 +0000 (11:11 +0000)]
Bugfix [#34749] Fluid domain > 10GB crashes Blender - out of memory

I am unsure if I did catch all problematic code but I ran out of memorybefore the sim started ;)

8 years agoFix #34758, another Crash with NodeGroup. Took a while to get to the bottom, but...
Lukas Toenne [Mon, 25 Mar 2013 11:08:14 +0000 (11:08 +0000)]
Fix #34758, another Crash with NodeGroup. Took a while to get to the bottom, but the root of the issue was that nested node groups (groups inside other groups) were ungrouped ("inlined") repeatedly. This lead to preview operations being added to the same group more than once, and the redundant preview operations (beside working on the same preview buffer) did not get their correct resolution set. This in turn would then lead to previews writing beyond allocated size and causing corrupted memory + crash.

Simple fix: don't expand node groups more than once.

8 years agoUpdate to i18n tools (new [CTX_]DATA_ macros, and some more exceptions to spell check...
Bastien Montagne [Mon, 25 Mar 2013 08:30:38 +0000 (08:30 +0000)]
Update to i18n tools (new [CTX_]DATA_ macros, and some more exceptions to spell check...).

8 years agoMore new data names translation (most cases should be covered now).
Bastien Montagne [Mon, 25 Mar 2013 08:29:06 +0000 (08:29 +0000)]
More new data names translation (most cases should be covered now).

Also done a few cleanup here and there...

8 years agobeautify fill: skip testing invalid cases (2 triangles that _don't_ have 4 unique...
Campbell Barton [Mon, 25 Mar 2013 04:48:30 +0000 (04:48 +0000)]
beautify fill: skip testing invalid cases (2 triangles that _don't_ have 4 unique verts between them).

8 years agocode cleanup:
Campbell Barton [Mon, 25 Mar 2013 02:41:30 +0000 (02:41 +0000)]
code cleanup:
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style

8 years agoFix #34730, set special brush rotation to zero if brush is not rake or
Antony Riakiotakis [Mon, 25 Mar 2013 01:42:58 +0000 (01:42 +0000)]
Fix #34730, set special brush rotation to zero if brush is not rake or

8 years agocancel face/edge creation operator if nothing is done (so it wont register or do...
Campbell Barton [Mon, 25 Mar 2013 01:25:46 +0000 (01:25 +0000)]
cancel face/edge creation operator if nothing is done (so it wont register or do an undo push)

8 years agopatch [#34763] Center the View to the ZDepth Position under the Mouse Cursor
Campbell Barton [Mon, 25 Mar 2013 01:11:16 +0000 (01:11 +0000)]
patch [#34763] Center the View to the ZDepth Position under the Mouse Cursor
from Ralf Holzemer (cheleb)

use Fkey in object mode (since its a mode-less fly).

8 years agoAlpha mask textures porting part 1: Support for projective texturing.
Antony Riakiotakis [Mon, 25 Mar 2013 01:00:16 +0000 (01:00 +0000)]
Alpha mask textures porting part 1: Support for projective texturing.
Also add random mapping to brushes.

8 years agofix [#34745] TGA with size of 4Kx8K won't load
Campbell Barton [Sun, 24 Mar 2013 20:59:53 +0000 (20:59 +0000)]
fix [#34745] TGA with size of 4Kx8K won't load

Checked the size limit on TGA files in svn history and this is was just an arbitrary limit that might have made sense some years back, but not now.

8 years agoFIX: [#34467] File Browser Deletes Unselected Files
Andrea Weikert [Sun, 24 Mar 2013 19:29:49 +0000 (19:29 +0000)]
FIX: [#34467] File Browser Deletes Unselected Files

* delete now acts on selected file(s) rather than the highlighted file.

8 years agoWhite space commit.
Thomas Dinges [Sun, 24 Mar 2013 19:10:30 +0000 (19:10 +0000)]
White space commit.

And 55555. :D

8 years agoedit to 55549, replace fake click event with call to uiButActiveOnly().
Campbell Barton [Sun, 24 Mar 2013 19:08:24 +0000 (19:08 +0000)]
edit to 55549, replace fake click event with call to uiButActiveOnly().
also make it more clear args are for rna buttons.

8 years agoUI small fixes:
Ton Roosendaal [Sun, 24 Mar 2013 18:59:15 +0000 (18:59 +0000)]
UI small fixes:

- Theme color for the brush popup was not correctly coded. Now it follows menu item
  style correctly, which also allows all the themes we have to give readable text.

- RMB cancel also added for slider buttons and the color picker.

8 years agoCode cleanup:
Thomas Dinges [Sun, 24 Mar 2013 18:14:38 +0000 (18:14 +0000)]
Code cleanup:
* Remove non used booleanops_mesh.c and header, got obsolete with Carve.

8 years agoSmall feature:
Ton Roosendaal [Sun, 24 Mar 2013 16:43:40 +0000 (16:43 +0000)]
Small feature:

While using number sliders, you can now press RMB to cancel (like ESC)

8 years agoOS X Fullscreen: shortcut now is CTRL + Cmd + F. Is more common, and it keeps
Ton Roosendaal [Sun, 24 Mar 2013 14:56:03 +0000 (14:56 +0000)]
OS X Fullscreen: shortcut now is CTRL + Cmd + F. Is more common, and it keeps
Cmd + F for searches.

8 years agoUsablity:
Ton Roosendaal [Sun, 24 Mar 2013 13:43:40 +0000 (13:43 +0000)]

In text editor, the CTRL+F find now opens property region (or keeps it) and
activates the search button for input.

That's already nice! But next step should be to do a search on exit of
the button (or while typing). That's stuff I need Campbell to help with though.

- Probably Py api for property buttons could get an "operator=" arg?
- The warning menu "not found" should go away
- I also suggest to make "wrap" search default for new editors

8 years agoMerged changes in the trunk up to revision 55546.
Tamito Kajiyama [Sun, 24 Mar 2013 12:13:13 +0000 (12:13 +0000)]
Merged changes in the trunk up to revision 55546.

Conflicts resolved:

Partly reverted changes to intern/cycles/blender/addon/ in revision 52899
to make it easier to merge trunk changes.

8 years agoFix for [#34747] Rendering invisible tiles
Thomas Dinges [Sun, 24 Mar 2013 10:52:20 +0000 (10:52 +0000)]
Fix for [#34747] Rendering invisible tiles
* reset_session() was not taking render percentage into account in case persistent_data was enabled.
* also deprecate old "maximsize" DNA variable.

8 years agoUnix/X11 - use RGBA icon (netwm icon), rather then pixmap icon.
Campbell Barton [Sun, 24 Mar 2013 06:23:15 +0000 (06:23 +0000)]
Unix/X11 - use RGBA icon (netwm icon), rather then pixmap icon.

8 years agocode cleanup: move doxy docs from headers into source. also replace strncpy();str...
Campbell Barton [Sun, 24 Mar 2013 01:51:54 +0000 (01:51 +0000)]
code cleanup: move doxy docs from headers into source. also replace strncpy();str[len]=0 with BLI_strncpy() in BLI_stringdec().

8 years agofix for struct definition building with msvc2008 and some style cleanup.
Campbell Barton [Sun, 24 Mar 2013 01:19:55 +0000 (01:19 +0000)]
fix for struct definition building with msvc2008 and some style cleanup.

8 years agoAdded header comments to indicate the author(s) of original files.
Tamito Kajiyama [Sun, 24 Mar 2013 00:53:05 +0000 (00:53 +0000)]
Added header comments to indicate the author(s) of original files.
Suggested by Sergey Sharybin through a code review of the branch.

The information was mostly recovered from the AUTHORS file [1] of the
stand-alone Freestyle package version 2.2.0.


8 years agoRemoved a Freestyle-specific function call from bf_windowmanager.
Tamito Kajiyama [Sat, 23 Mar 2013 21:38:35 +0000 (21:38 +0000)]
Removed a Freestyle-specific function call from bf_windowmanager.
Suggested by Sergey Sharybin through a code review of the branch.

8 years agoFix for opencollada building in script.
Bastien Montagne [Sat, 23 Mar 2013 17:28:24 +0000 (17:28 +0000)]
Fix for opencollada building in script.

Stick to rev c89cf095c40aa2a518b1104c448825eacc92d174 of opencollada repo, next commit breaks API and prevent blender from building anymore... :(

8 years agocode cleanup: quiet shadow warning.
Campbell Barton [Sat, 23 Mar 2013 17:11:03 +0000 (17:11 +0000)]
code cleanup: quiet shadow warning.

8 years agoFix for cycles group node bug, reported on IRC: Group nodes input proxies did not...
Lukas Toenne [Sat, 23 Mar 2013 16:45:38 +0000 (16:45 +0000)]
Fix for cycles group node bug, reported on IRC: Group nodes input proxies did not get their correct default value set. Forgot to add this during r55440 ...

8 years agoBug fix 34743
Ton Roosendaal [Sat, 23 Mar 2013 16:08:02 +0000 (16:08 +0000)]
Bug fix 34743

Mac OS X full screen: the old option to go full screen now didn't hide the
dock/topbar anymore. Also made it use dock auto-hide now, not permanent hide.

8 years agocode cleanup: remove unused button type HSVSLI
Campbell Barton [Sat, 23 Mar 2013 16:03:13 +0000 (16:03 +0000)]
code cleanup: remove unused button type HSVSLI

8 years agoTheme fix:
Ton Roosendaal [Sat, 23 Mar 2013 12:46:07 +0000 (12:46 +0000)]
Theme fix:

Node Editor and Sequencer were not using grid theme color, but 'back'.

This commit adds versioning to copy background color to grid. I do this
without increasing sub-version, which allows to add correct drawing when
the subversion has to go up anyway for something else.

8 years agoCycles:
Thomas Dinges [Sat, 23 Mar 2013 10:11:29 +0000 (10:11 +0000)]
* Avoid an unnecessary condition in light.cpp, (totarea > 0.0f) is always true inside the "if(kintegrator->use_direct_light)" branch.

8 years agoConstraint UI:
Thomas Dinges [Sat, 23 Mar 2013 08:47:29 +0000 (08:47 +0000)]
Constraint UI:
* Hide Script Constraint from UI, not functional.
* Alphabetical order fix for Motion tracking constraints.

8 years agoCode cleanuo:
Thomas Dinges [Sat, 23 Mar 2013 08:38:53 +0000 (08:38 +0000)]
Code cleanuo:
* Remove already commented "use_radiosity" flag from RNA.
* Remove some commented exceptions for old 2.4x 3D View preview region.
* Remove empty and commented function declarations from 2.4x UI times

8 years agoCode cleanup:
Thomas Dinges [Sat, 23 Mar 2013 08:25:29 +0000 (08:25 +0000)]
Code cleanup:
* Remove already deprecated USER_DISABLE_AA flag from code, only commented DNA flag left.