Sergey Sharybin
0c07c33fec
Correction to recent prefetch commit
...
When using movie as a clip no need to prefetch in cases
no proxies are sued at this moment.
2013-03-26 12:45:10 +00:00
Ton Roosendaal
6e076c4164
Better fix for "To Sphere" crashing in Image editor. It appeared to be in use for
...
mask/uv modes.
2013-03-26 10:28:19 +00:00
Campbell Barton
f1ed223e34
grease pencil eraser mouse-wheel resize was inverted compared to circle-select.
2013-03-26 07:44:48 +00:00
Campbell Barton
5a978a9d21
grease pencil xray option wasn't being applied to single points in the 3d view.
2013-03-26 07:41:59 +00:00
Campbell Barton
64d161de87
style cleanup:
...
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
Campbell Barton
ef961319e0
fix [ #34658 ] GreasePencil eraser deletes strokes through geometry, surfacemode
...
add depth check to grease pencil eraser when xray option is disabled.
2013-03-26 06:07:21 +00:00
Campbell Barton
b0ef03565d
fix [ #34698 ] Axis Locking works incorrect
...
don't do projection when constraints are used.
2013-03-26 03:36:18 +00:00
Campbell Barton
09721bffc0
replace view3d_get_view_aligned_coordinate with ED_view3d_win_to_3d_int()
2013-03-26 02:37:29 +00:00
Campbell Barton
ae0e356de6
improve beauty-fill tool for non-flat triangles.
...
Project the triangle pair into 2d coords before measuring.
before/after - http://www.graphicall.org/ftp/ideasman42/beauty_fill_fix.png
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.
2013-03-26 01:49:55 +00:00
Campbell Barton
32f63f6b4c
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.
2013-03-26 01:46:12 +00:00
Campbell Barton
4fbf4590c9
edit to VIEW3D_OT_view_center_pick
...
- pan when nothing is under the mouse
- use key binding alt+f
2013-03-26 01:43:00 +00:00
Campbell Barton
0eee4021c9
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.
2013-03-26 00:29:57 +00:00
Campbell Barton
f9b1494158
internal changes to beautify fill, use an array of edges that can be rotated, rather then looping over all edges each time.
2013-03-25 23:21:16 +00:00
Campbell Barton
6f9f1399a0
code cleanup: operator headers
2013-03-25 22:40:11 +00:00
Campbell Barton
be780cb4a6
code cleanup: move beautify into its own file (more changes coming)
2013-03-25 22:04:12 +00:00
Campbell Barton
8f8613df90
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.
2013-03-25 21:31:24 +00:00
Ton Roosendaal
c347b48784
Bug report, IRC:
...
Operator "To Sphere" should only be allowed to be called in 3d view.
Crashed in Image editor.
2013-03-25 18:41:28 +00:00
Bastien Montagne
09bae3d35d
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!
2013-03-25 17:22:00 +00:00
Ton Roosendaal
40ab9be14a
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.
2013-03-25 15:45:59 +00:00
Sergey Sharybin
a5fe1de7f9
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..
2013-03-25 15:32:15 +00:00
Sergey Sharybin
7635de3fee
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.
2013-03-25 15:32:11 +00:00
Bastien Montagne
74e37ec0e6
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).
2013-03-25 14:46:34 +00:00
Bastien Montagne
4cb9414b39
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.
2013-03-25 11:35:42 +00:00
Daniel Genrich
2cd0f0d2fe
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 ;)
2013-03-25 11:11:49 +00:00
Lukas Toenne
b58ffcce86
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.
2013-03-25 11:08:14 +00:00
Bastien Montagne
72a3714695
Update to i18n tools (new [CTX_]DATA_ macros, and some more exceptions to spell check...).
2013-03-25 08:30:38 +00:00
Bastien Montagne
6926596174
More new data names translation (most cases should be covered now).
...
Also done a few cleanup here and there...
2013-03-25 08:29:06 +00:00
Campbell Barton
1b4c9e1ad4
beautify fill: skip testing invalid cases (2 triangles that _don't_ have 4 unique verts between them).
2013-03-25 04:48:30 +00:00
Campbell Barton
e1a54214bb
code cleanup:
...
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
2013-03-25 02:41:30 +00:00
Antony Riakiotakis
153eea5f23
Fix #34730 , set special brush rotation to zero if brush is not rake or
...
anchored.
2013-03-25 01:42:58 +00:00
Campbell Barton
5e7372a7ce
cancel face/edge creation operator if nothing is done (so it wont register or do an undo push)
2013-03-25 01:25:46 +00:00
Campbell Barton
00e3aa529e
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).
2013-03-25 01:11:16 +00:00
Antony Riakiotakis
ceb3225db7
Alpha mask textures porting part 1: Support for projective texturing.
...
Also add random mapping to brushes.
2013-03-25 01:00:16 +00:00
Campbell Barton
48a256c910
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.
2013-03-24 20:59:53 +00:00
Andrea Weikert
ae1325c963
FIX: [ #34467 ] File Browser Deletes Unselected Files
...
* delete now acts on selected file(s) rather than the highlighted file.
2013-03-24 19:29:49 +00:00
Thomas Dinges
814b3933e3
White space commit.
...
And 55555. :D
2013-03-24 19:10:30 +00:00
Campbell Barton
8bf206ce4b
edit to 55549, replace fake click event with call to uiButActiveOnly().
...
also make it more clear args are for rna buttons.
2013-03-24 19:08:24 +00:00
Ton Roosendaal
d74cf43575
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.
2013-03-24 18:59:15 +00:00
Thomas Dinges
bf295c1c36
Code cleanup:
...
* Remove non used booleanops_mesh.c and header, got obsolete with Carve.
2013-03-24 18:14:38 +00:00
Ton Roosendaal
82ffa62e90
Small feature:
...
While using number sliders, you can now press RMB to cancel (like ESC)
2013-03-24 16:43:40 +00:00
Ton Roosendaal
70702f78b5
OS X Fullscreen: shortcut now is CTRL + Cmd + F. Is more common, and it keeps
...
Cmd + F for searches.
2013-03-24 14:56:03 +00:00
Ton Roosendaal
1165236f69
Usablity:
...
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.
Notes:
- 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
2013-03-24 13:43:40 +00:00
Thomas Dinges
c4ae6f2c36
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.
2013-03-24 10:52:20 +00:00
Campbell Barton
0bc791a34f
Unix/X11 - use RGBA icon (netwm icon), rather then pixmap icon.
2013-03-24 06:23:15 +00:00
Campbell Barton
08aef8a7c8
code cleanup: move doxy docs from headers into source. also replace strncpy();str[len]=0 with BLI_strncpy() in BLI_stringdec().
2013-03-24 01:51:54 +00:00
Campbell Barton
92d7955d13
fix for struct definition building with msvc2008 and some style cleanup.
2013-03-24 01:19:55 +00:00
Bastien Montagne
d9eadf442e
Fix for opencollada building in install_deps.sh script.
...
Stick to rev c89cf095c40aa2a518b1104c448825eacc92d174 of opencollada repo, next commit breaks API and prevent blender from building anymore... :(
2013-03-23 17:28:24 +00:00
Campbell Barton
224c7a273a
code cleanup: quiet shadow warning.
2013-03-23 17:11:03 +00:00
Lukas Toenne
e2baf49d79
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 ...
2013-03-23 16:45:38 +00:00
Ton Roosendaal
c79b923c1d
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.
2013-03-23 16:08:02 +00:00