Commit Graph

52002 Commits

Author SHA1 Message Date
Bastien Montagne a41a38d11c Fix part of T41739: Solid 3DView not updating when enabling/disabling nodal material.
There are other similar update issues with mat nodes and solid 3DView, but need agreement
on proposed patch from other devs in this area first!
2014-09-16 16:19:23 +02:00
Bastien Montagne 045b26dbf5 Fix T41843: World preview not updating when changing world.
NC_SCENE | ND_WORLD was not handled by buttons space...
2014-09-16 14:28:44 +02:00
Sergey Sharybin 1e948b251d Fix T41818: Missing refresh on Undo for nodes (mask example)
Added a special notifier now NC_WM|ND_UNDO in order to deal with such cases
and now compositor/image will refresh when undo happens.

There are much more ways to fail compo to update the resul, like undoing
while it's not visible and so, but as mont29 said -- let's at least fix
obvious crap in the workflow.
2014-09-16 14:44:47 +06:00
Campbell Barton 3ac640b19e Fix T41842: Knife edge-snap, incorrect offset 2014-09-16 15:43:57 +10:00
Campbell Barton 775a54485b Math Lib: add mul_v3_project_m4_v3 2014-09-16 15:41:17 +10:00
Campbell Barton 106ea0b20b Cleanup: sync map_to_sphere, UNLIKELY xy zero case 2014-09-16 12:41:16 +10:00
Campbell Barton ece902ed9b Correct invalid sizeof in memset use 2014-09-14 18:50:59 +10:00
Campbell Barton 58305c9403 Sculpt: check mask is present before reading 2014-09-14 17:46:48 +10:00
Campbell Barton a319469260 Correct last commit 2014-09-14 17:42:33 +10:00
Campbell Barton 432d274990 Cleanup & typo in assignment 2014-09-14 17:27:31 +10:00
Bastien Montagne fdb12ff564 Fix T41811: unreachable code in wm_keymap.c
There was also an issue with passing sl->spacetype here, for some reason...
2014-09-13 15:49:53 +02:00
Tamito Kajiyama e5b2e9cdd3 Fix T41800: Freestyle + Cycles panoramic camera not compatible, renders are incorrect. 2014-09-13 11:40:08 +09:00
Campbell Barton 26e476b7e1 Fix T41788: bmesh.utils.loop_separate, face_vert_separate() always return None 2014-09-12 10:16:50 +10:00
Campbell Barton 194f7f0ae8 Cleanup & remove redundant check 2014-09-12 09:53:31 +10:00
Antonis Ryakiotakis 72d6f254a9 Fix related to T41780, sequencer weirdness with alpha under effect
Fix alpha under equation according to porter-duff and user docs that
state that effect should invert he order of channels and reduce to alpha
over when factor is 1.0.

BTW, we don't really expose any factor here...lost feature from 2.49?
2014-09-11 20:16:12 +02:00
Sergey Sharybin d919218482 Tracking: Fix wrong behavior of refining with previous frame matching 2014-09-11 20:43:41 +06:00
Sergey Sharybin b762cc28ea Workaround for strict flags and release build compilation
@campbellbarton, it's really helpful to have strict flags enabled
for release builds as well -- especially when you're working in areas
which are heavily using least squares solvers.

For now made it so blender compiles, but it could be better solution here.
2014-09-11 19:33:37 +06:00
Sergey Sharybin ed6942f9ad Fix wrong area of interest for movie undistortion 2014-09-11 19:33:01 +06:00
Sergey Sharybin 4bbe0c8cde Fix T41785: The combination of movie-distortion and lens-distortion leads to artifacts 2014-09-11 19:07:20 +06:00
Campbell Barton 149ca1320b Fix non-deterministic editmesh normal orientations
- selecting a boundary edge would randomly point in/outside the face (now point away).
- selecting 3 verts would use the first selected edge as the tangent (now use longest).
- selecting 1 vert betweem edges, uses the edges to define the tangent.
2014-09-11 18:31:02 +10:00
Tamito Kajiyama 507af00855 Freestyle: Fix for missing quality control on line rendering in Cycles.
Freestyle was using the default Cycles rendering settings (e.g., the number
of samples) and users could not change them.  Now all render parameters
(except for film_transparent) are inherited for Freestyle stroke rendering.

Problem report by Danny Grimm on Facebook, thanks!
2014-09-11 13:41:14 +09:00
Campbell Barton 7aedfd654b Fix T41778: Crash on animate boids xith a goal
No need to copy/restore entire object struct (just to read location)
2014-09-11 12:49:46 +10:00
Campbell Barton bae66459df Fix crash in BLI_kdtree_range_search
Called memcpy with a NULL pointer,
causing the following NULL check to get optimized away.
2014-09-11 12:47:52 +10:00
Campbell Barton 229c2c14f7 Fix crash in project-from view without a brush or active object 2014-09-10 23:12:11 +10:00
Campbell Barton 7d9760d962 Text3d: assert for <0 len text
also add operator to test blacklist
2014-09-10 23:12:11 +10:00
Campbell Barton 3ad9027648 Text3D: fixes to selection
- clamp selection on entering editmode (Python may have changed).
- BKE_vfont_select_get no longer succeeds with an empty selection
  this caused many operators to go ahead and operate on zero size array.
2014-09-10 23:00:24 +10:00
Campbell Barton 64e955f522 Fix crash in active_paint_texture_index callback 2014-09-10 23:00:24 +10:00
Bastien Montagne 20d6b792a4 Fix T41767: Memory free problem when console area copy fail.
Nice little memleak!

Patch by reporter (randon (Dun Liang)) with minor own cleanup, thanks!
2014-09-10 13:14:29 +02:00
Bastien Montagne 965205d0e2 Fix two bugs with searchbox UI items.
First one, reported by Sergey, was searchbox not closing when validating it (enter or LMB click)
without any active item (we need to enable escapecancel here, to close menu too).

Second one was SEARCH_MENU_UNLINK variant not unlinking at validation when no active item.

Thanks a bunch to Campbell for help here!
2014-09-10 12:53:22 +02:00
Anthony Edlin 1811ffff5d Fix T41112: Rotate manipulator (Trackball) + release confirm not working?
Usual same issue (unset property != set property to default value).

Review and minor edits by mont29 (Bastien Montagne).
2014-09-10 12:06:22 +02:00
Campbell Barton 9871788a15 UI: Disable operator search menu setting an unset state key key-input 2014-09-10 19:22:29 +10:00
Campbell Barton 6480fdcae4 Cancel edge-rip macro if no changes are made. 2014-09-10 16:20:08 +10:00
Campbell Barton 652eaf7723 Fix for mesh-inset modifying hidden faces 2014-09-10 16:02:24 +10:00
Campbell Barton 384220eeab Partial fix T41749
2d & 3d cached text now draws pixel aligned now.
2014-09-10 15:01:39 +10:00
Campbell Barton ad0790f14e Partial fix for T41749
Tool-tips and header-text used a different pixel alignment from the rest of the UI.
This causes blurry text with multi-sample with NVidia.

Other text still needs the issue resolved (View3d info for eg)
2014-09-10 13:38:09 +10:00
Campbell Barton 1b94b3d49c WM: Add utility wmOrtho2_*** funcs
Currently there are inconsistencies with pixel alignment.
but this commit has no functional changes.

- wmOrtho2_region_ui for UI/Text.
- wmOrtho2_region_pixelspace for 2D drawing.
- wmOrtho2_pixelspace - when the region isn't used.
2014-09-10 13:37:53 +10:00
Campbell Barton 95db507eff Curve: Remove assert in BKE_curve_bevelList_make
Failed on any cyclic poly line.
2014-09-10 10:48:01 +10:00
Bastien Montagne 17f120e76c Usual UI messages fixes... 2014-09-09 19:55:11 +02:00
Campbell Barton 3ac70665b0 Fix crash reading ParticleEdit.is_editable 2014-09-09 22:07:55 +10:00
Campbell Barton 1abcbe775b Fix T41445: Inset creates separated UV's 2014-09-09 18:54:50 +10:00
Campbell Barton 03c889683a Cleanup: const correctness, no change to generated code. 2014-09-09 17:17:57 +10:00
Campbell Barton e18906bda2 remove invalid comments 2014-09-09 12:21:28 +10:00
Campbell Barton 3c00efcf69 Warn when --engine arg isn't found 2014-09-09 01:44:41 +10:00
Campbell Barton ae99764385 CMake: Add missing WITH_OPENIMAGEIO define 2014-09-09 01:44:41 +10:00
Sergey Sharybin 8837bb297b Fix crash happening with external engines and dependent objects in an invisible layers 2014-09-08 20:36:40 +06:00
Bastien Montagne b1490e39dd Fix T41744: Hidden keymap properties uneditable
For UI & operator toolbar this makes sense,
but for keymaps - hidden props can make an important difference.
2014-09-08 21:25:03 +10:00
Bastien Montagne 876ccc8373 Fix T41573: Compositing reroute converts floats to red color
At compo level, only skip data type conversion if both ends of a link do not require it.

Thanks to Lukas for advices and review.
2014-09-08 12:28:51 +02:00
Bastien Montagne 9c19ad1f79 Fix T41703: Blender crashes trying to load character file.
Core of the issue is that pointcache handling in depsgraph were (re-) tagging
for update some objects on hidden layers, when all their dependencies remained
untag.

Since we do not want to update objects on hidden layers, take this data into account
when flushing pointcache.

Investigations and org patch by self, reviews, advices and final patch by sergey, many thanks! :)
2014-09-08 11:49:55 +02:00
Campbell Barton 5850ee0a6a Fix T41746: WPaint: gradient+mirror fails 2014-09-08 18:03:44 +10:00
Campbell Barton 4e732b9860 Fix building as Python module (manpage-generation) 2014-09-08 11:22:40 +10:00