Campbell Barton
e70beaacf4
fix Shift+LMB select when in weight-vertex-select mode. (it was mixing up vert/face index values and didnt work at all)
2012-09-07 02:18:04 +00:00
Campbell Barton
704c5f09b5
remove makeDerivedMesh from ED_mesh_pick_face(), this was added 44256 (bmesh merge), but is pretty bad (rebuilding entire derived mesh to pick a face), tested with subsurf modifier, sintel mesh - it works ok without it.
...
Also - other select modes like border-select dont do this, so looks safe to disable.
2012-09-07 00:58:00 +00:00
Campbell Barton
04418fe8dd
code cleanup: header had many incorrect sections for function/file, also rename mouse_mesh() --> EDBM_select_pick()
2012-09-07 00:22:10 +00:00
Campbell Barton
aca97317af
code cleanup: move vertex and face picking functions into meshtools.c
2012-09-06 23:50:28 +00:00
Campbell Barton
0ecbc047e8
code cleanup
2012-09-06 23:41:03 +00:00
Campbell Barton
774cc0ab16
fix [ #30063 ] Weight Paint + Pose Mode: [m] key does not toggle Face Selection Masking
...
disallow some pose operators when weight paint mode is enabled.
2012-09-06 23:10:01 +00:00
Sergey Sharybin
8cc17be274
Merging r50450 through r50454 from trunk into soc-2011-tomato
2012-09-06 16:06:55 +00:00
Brecht Van Lommel
f647348420
Fix cycles continuously updating when creating a driver for a scene property,
...
like driving integrator seed with #frame.
The scene drivers are evaluated continuously, which would be nice to fix but
complicated, now it compares the RNA value to see if it actually changed, and
avoids the update in that case, which is a useful optimization by itself.
(merged from tomato branch)
2012-09-06 11:35:16 +00:00
Brecht Van Lommel
a18b60c0c8
Fix wrong cycles tile size in viewport, could affect performance a bit.
2012-09-06 11:34:55 +00:00
Campbell Barton
9411716f31
fix for error in own recent commit
2012-09-06 11:02:27 +00:00
Sergey Sharybin
0b778a9026
Merging r50423 through r50449 from trunk into soc-2011-tomato
2012-09-06 09:44:32 +00:00
Campbell Barton
6f0cbd787d
make freeing sequencer strip without cache an option only exposed within sequencer.c
2012-09-06 09:23:38 +00:00
Campbell Barton
afaa67b5b8
fix [ #32502 ] Shift + V Vertex slide doesn't work for x-mirror edit
2012-09-06 06:18:10 +00:00
Campbell Barton
3bb17bd64a
fix for crash in sequencer introduced with recent cache addition,
...
- running undo with metastrips would crash immediately.
- freeing a strip without a scene would crash (clipboard does this).
2012-09-06 04:45:25 +00:00
Campbell Barton
86dd087057
fix [ #32475 ] Enabled audio lets blender crash with autosplit option for movie output
2012-09-06 03:08:47 +00:00
Campbell Barton
04b5ef20f1
style cleanup: indentation
2012-09-06 02:20:03 +00:00
Campbell Barton
47ec91e8d3
code clenup: comments and some style edits on ghost/osx (odd indentation)
2012-09-06 02:10:09 +00:00
Campbell Barton
5d2e4bb87e
code cleanup: capitalize defines.
2012-09-06 01:31:15 +00:00
Campbell Barton
5c52455fba
fix [ #32500 ] Odd behaviour with subdividing an ngon
2012-09-06 01:06:36 +00:00
Campbell Barton
9559c95aaa
support ANIMFILTER_FOREDIT for mask layers, also move deprecated metaball types to the end of the switch statement when evaluating metaballs.
2012-09-06 00:38:28 +00:00
Campbell Barton
d75a66674d
code cleanup: remove deprecated defines and some struct members
2012-09-06 00:33:59 +00:00
Campbell Barton
20b84ec37c
committed by accident
2012-09-05 23:30:30 +00:00
Campbell Barton
df51ab27ed
code cleanup: BM_face_legal_splits() was doing some redundant assignments.
2012-09-05 23:22:47 +00:00
Campbell Barton
36797a64a5
code cleanup: use *(*var)[2] for pairs in bmesh code rather then a 1d array stepping by 2.
2012-09-05 23:17:19 +00:00
Campbell Barton
6e85ffc4fa
code cleanup: bmesh subdivide code was growing arrays one by one, when the final size is known - do this in one go.
...
also replace for loops with iterator macros.
2012-09-05 19:21:55 +00:00
Bastien Montagne
b9e544e823
Adding brazilian portuguese language, as requested by portuguese team.
2012-09-05 18:35:22 +00:00
Sergey Sharybin
bac6f03e16
Color Management: fix for dereferencing NULL pointer
2012-09-05 16:29:16 +00:00
Sergey Sharybin
4d152140a3
Color Management: exposure is in fact pre-display transfrom
2012-09-05 16:24:33 +00:00
Sergey Sharybin
ee5bf889e9
Color Management: RGB curves transform as a part of display transform
...
This replaces per-image editor curve mapping which didn't behave properly
(it was possible to open the same image in two image editors and setup
different curves in this editors, but only last changed curve was applied
on image)
After discussion with Brecht decided to have something which works reliable
and predictable and ended up with adding RGB curves as a part of display
transform, which is applied before OCIO processor (to match old behavior).
Setting white/black values from image editor (Ctrl/Shift + LMB) would
affect on scene settings.
This could break compatibility, but there's no reliable way to convert
old semi-working settings into new one.
2012-09-05 16:08:36 +00:00
Sergey Sharybin
7d980ca969
Color Management: don't show input color space for byte images
2012-09-05 14:29:15 +00:00
Sergey Sharybin
16a126622e
Merging r50413 through r50422 from trunk into soc-2011-tomato
2012-09-05 14:19:40 +00:00
Sergey Sharybin
c1dc375379
Sequencer: show color sample line in image display mode only
2012-09-05 14:11:22 +00:00
Sergey Sharybin
196028a99f
Color Management: made OpenColorIO transformations aware of color unpremultiply
...
Mainly behaves in the same way as legacy color transformation, but it'll
give different result on over and under exposured areas.
Not sure if it's indeed issue -- seems this behaves crappy in both of
current stable release and OCIO branch.
2012-09-05 13:58:01 +00:00
Antony Riakiotakis
9ca25136a1
Fix compositor crash. g_highlightedNodes can be NULL.
2012-09-05 13:50:24 +00:00
Sergey Sharybin
ade9acca41
Color Management: fix for tiled image draw and remove unused code
2012-09-05 12:14:09 +00:00
Sergey Sharybin
201583592f
Code cleanup -- remove unneeded changes, synchronize some areas with trunk
2012-09-05 12:00:08 +00:00
Sergey Sharybin
c6599979c7
Sequencer: multi-threaded histogram calculation
...
This gives some percentage of speedup, which compensates slowdown
caused by converting image buffer into display space.
Used OpenMP for this. Still feel skeptic about this, discussed with
Brecht and we decided this approach actually could be used since
seems all the platforms has got OpenMP issues solved.
Waveform and vector scopes are still single-threaded since they're
a bit tricker to be done multi-threaded and probably not so commonly
used.
2012-09-05 11:43:11 +00:00
Sergey Sharybin
54cf098492
Sequencer: cache currently displaying scopes
...
This avoids calculation of scopes on every redraw, so such tools as panning
and zoom wouldn't imply re-calculating scopes.
Implemented as a structure inside of SpaceSeq, juts like it's done for clip
and image spaces.
Also fixed zebra display to work in display space.
2012-09-05 11:43:05 +00:00
Sergey Sharybin
f4817e316e
Color Management: sequencer's scopes now works in display space
...
Added utility function to apply display transformation on image buffer's
float array which is currently only used by sequencer's scopes.
This function is multithreaded, but scopes should be improved further
since currently they're being recalculated from scratch on every draw.
2012-09-05 11:42:57 +00:00
Sergey Sharybin
3963425006
Merging r50374 through r50412 from trunk into soc-2011-tomato
2012-09-05 11:42:20 +00:00
Campbell Barton
e2eea6c38d
fix/workaround [ #31555 ] Username with special chars in Windows 7
...
Theres a bug where python/windows ignores PYTHONIOENCODING, workaround this by manually overriding the stdout/stderr.
2012-09-05 09:33:15 +00:00
Jeroen Bakker
7efe2153b2
* gcc 4.7 is more strict. This patch will remove 'non virtual
...
destructor warnings' in the core of the compositor.
2012-09-05 08:50:25 +00:00
Campbell Barton
99fcec3334
fix [ #29431 ] "Normalize All" from Weight Tools don't work correctly
2012-09-05 04:16:09 +00:00
Campbell Barton
a512cac545
code cleanup: move get_selected_defgroups into object_deform.c and make it behave like similar functions, also when drawing vertex weight colors, only call this function when multi-paint is enabled.
2012-09-05 03:45:32 +00:00
Campbell Barton
84dc5c2992
code cleanup: move functions for getting defgroup arrays from objects out of editors into blenkernel, since they are generally useful.
2012-09-05 02:51:55 +00:00
Campbell Barton
a4b71f4e01
fix for various redundant checks and possibly fix some crashes in rare situations.
2012-09-05 01:42:52 +00:00
Campbell Barton
2016791fee
add missing files from cmakes lists
2012-09-05 00:52:35 +00:00
Campbell Barton
8cf9e5f8c3
change templates to call modal_handler_add() is called last since any errors between calling this function and returning will crash blender. see [ #30687 ]
2012-09-05 00:11:39 +00:00
Campbell Barton
dba5ef3ba8
code cleanup: python - pass multiple args to string startswith() / endswith() functions rather than calling multiple times.
2012-09-04 20:26:42 +00:00
Campbell Barton
1d4316f35f
fix [ #32490 ] Compsitor crashes on missing OpenEXR multilayer files
2012-09-04 19:42:09 +00:00