Commit Graph

43585 Commits

Author SHA1 Message Date
Campbell Barton
fb25a86f43 Fix T39537: Multi button editing is unreliable 2014-04-01 22:10:41 +11:00
Campbell Barton
77f815f67a RNA: clamp colors min to 0.0
any colors which need to be negative can explicitly pass in a range.
2014-04-01 21:50:09 +11:00
Sergey Sharybin
467596dd36 Fix T38860: Video preview in VSE shows a distorted and jagged appearance at scale 1:1
Issue was cauzed by the set zoom ratio optator which didn't really set pixel zoom to 1:1.
2014-04-01 16:41:48 +06:00
Jens Verwiebe
62dc18c717 Fix an unused function warning without openmp present, some typos 2014-04-01 11:23:28 +02:00
Sergey Sharybin
7955cb78d6 Fix for "Show Diffuse Color" was having affect on mesh without mask
Only happened with VBOs enabled.
2014-04-01 14:00:15 +06:00
Sergey Sharybin
9904127e33 Code cleanup: use bool instead of int 2014-04-01 13:55:25 +06:00
Sergey Sharybin
ee72cba008 Fix T39446: Blender Crashes when Camera Tracking
Issue is likely caused by thread-unsafe nature of IMB_freeImBuf
which might lead to race condition in some circumstances.

Now made it thread-safe and from Sebastian's tests seems crash is
gone now, so hopefully the root of the issue is finally nailed down.
2014-04-01 13:14:37 +06:00
Campbell Barton
e95fd79258 Correction for error in own recent commit (makesrna c++ api, un-init var) 2014-04-01 16:53:15 +11:00
Campbell Barton
617557b08e Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define 2014-04-01 15:22:28 +11:00
Campbell Barton
2c00ecc738 Code cleanup: use macro to find vertex in face 2014-04-01 10:08:54 +11:00
Campbell Barton
3deaf7dfca Fix for leak in freestyle transformVertices 2014-04-01 09:45:09 +11:00
Campbell Barton
2c0e32f4e4 Fix for leak in freestyle FitCurve 2014-04-01 09:14:59 +11:00
Campbell Barton
90b94fdce5 Fix for leak in BKE_sequence_sound_init 2014-04-01 08:44:00 +11:00
Campbell Barton
d25ba1eccd Changes to openmp threads commit (UI and RNA)
- use same names as render threads
- remove OpenMP from UI
- remove details from tips
2014-04-01 08:30:24 +11:00
Bastien Montagne
42fca2f145 Usual UI messages fixes... 2014-03-31 21:15:56 +02:00
Bastien Montagne
f1186cb113 Fix T39524: Backface culling is always on in Textured view in BI.
Special case I did not think about in own previous culling fix (rB0f95149a7849).
2014-03-31 20:05:09 +02:00
Jens Verwiebe
6815a22110 Sculpt/dytopo: remove debug prints and add explanations 2014-03-31 19:11:52 +02:00
Antony Riakiotakis
fa3d9f4fbd Make dyntopo detail size maximum smaller (more than 40 pixels should not
be needed according to mapping in code) and change the property to
float.
2014-03-31 19:30:51 +03:00
Bastien Montagne
a5be03b270 Fix deffects reported by CoverityScan (nothing dramatic, but at least one was a (minor) bug). 2014-03-31 16:42:15 +02:00
Jens Verwiebe
2020a15153 Fix playercompile after boolifications 2014-03-31 14:58:22 +02:00
Joshua Leung
b37dc6a8bd Fix T39291: "Stepped" F-curve modifier does not work as expected when stacked after other modifiers
Evaluation of time-warping modifiers ("Stepped" is one of them) didn't actually
end up distorting the time to look up what values other modifiers in the stack
generate. This meant that when a "stepped" fmodifier was on top of a "generator",
the stepped fmodifier looked like it didn't have any effect.

(This fix requires a bit of testing still, so should be left for 2.71)
2014-04-01 01:54:40 +13:00
Jens Verwiebe
49ca3fdf16 Fix compile due forgot remove BKE_scene_omp_threads_update from patch 2014-03-31 14:53:30 +02:00
Campbell Barton
097a3756c0 Code cleanup: use bool 2014-03-31 23:39:08 +11:00
Campbell Barton
847b7bcbea Code cleanup: pack BezTriple a little (though size remains same) 2014-03-31 23:38:49 +11:00
Sergey Sharybin
c58f000e57 Vector handles were hidden but were allowed to slide apparently 2014-03-31 18:33:09 +06:00
Sergey Sharybin
dc9f4f53c0 Didn't meant to commit debug-only-code in the previous commit! 2014-03-31 18:02:46 +06:00
Sergey Sharybin
a64bcc1037 Code cleanup: use bool/true/false in movieclip.c 2014-03-31 18:01:35 +06:00
Jens Verwiebe
277fb1a31f Sculpt/dyntopo: Make the omp threads configurable to overcome performance issues
- autodetect optimal default, which typically avoids HT threads
- can store setting in .blend per scene
- this does not touch general omp max threads, due i found other areas where the calculations are fitting for huge corecount
- Intel notes, some of the older generation processors with HyperThreading would not provide significant performance boost for FPU intensive applications. On those systems you might want to set OMP_NUM_THREADS = total number of cores (not total number of hardware theads).
2014-03-31 13:51:49 +02:00
Sergey Sharybin
a9b82244de Code cleanup: fixes for function prototypes 2014-03-31 17:35:56 +06:00
Joshua Leung
ed775edeeb Fix T39405: Make "amplitude" for elastic easing more intuitive to use
Previously, amplitude was more of an "absolute" value in the sense that whatever value
you set it to became a sort of "maximum bounce" height. However, it turns out that this
approach isn't so nice when dealing with large gaps between the values of two keyframes,
as the elastic easing equations expect that "amplitude > |change|" (where change is the
difference in values from key1 to key2).

Now, the "amplitude" value we pass to the easing functions are "|change| + amplitude".
This is easier to control, as now, as soon as you start changing that value, there are
immediately visible effects.
2014-04-01 00:24:58 +13:00
Sergey Sharybin
93aa9b3755 Code cleanup: use bool insted of int/short in MCE 2014-03-31 15:31:28 +06:00
Sergey Sharybin
8dc300ecba Code cleanup: use bool instead of short in motrack 2014-03-31 15:24:23 +06:00
Sergey Sharybin
5e4f789173 Code cleanup: use false/true/bool for masking 2014-03-31 15:23:27 +06:00
Sergey Sharybin
851805d84e Masking: fix for initialdeather point not being offset to the mouse position 2014-03-31 15:00:40 +06:00
Sergey Sharybin
f06a1b77e2 Maksing: fix issue when it's not possible to drag right handle of aligned handles 2014-03-31 15:00:40 +06:00
IRIE Shinsuke
6316306cc0 Fix bug in image texture UI: "Use Alpha" checkbox doesn't appear if file format is BMP. 2014-03-31 17:37:55 +09:00
Campbell Barton
2fc7d04804 Add Simple randomize vertex tool
D432 from Walid Shouman with normal & uniform options added.
2014-03-31 14:56:43 +11:00
Campbell Barton
4e7872ce46 Add normal option to ED_transverts 2014-03-31 14:55:55 +11:00
Campbell Barton
0055162b75 Tweak slerp assert to be less picky 2014-03-31 14:55:12 +11:00
Campbell Barton
55f83e36cc Py API: Vector.slerp(). also added interp_v3_v3v3_slerp(_safe) functions 2014-03-31 13:28:37 +11:00
Campbell Barton
6aa75d3b2c Fix for error in normalize_vn_vn(), add len_squared_vn 2014-03-31 11:19:32 +11:00
Campbell Barton
c24c34324c Code cleanup: remove unused members of TransVert 2014-03-31 09:58:17 +11:00
Campbell Barton
f1962f187f Refactor: Add generic poll ED_transverts_poll 2014-03-31 09:58:17 +11:00
Mitchell Stokes
f5b79dff41 Fix T39490: BGE: Text to Mesh, then MouseOver does not work
Non-mesh objects default to no collisions. lordloki provided a
patch that sets the collision properties for a mesh converted from
a curve/meta/surf/text to the default collision properties for
a mesh.
2014-03-30 13:55:10 -07:00
Campbell Barton
482201d1a0 Style cleanup 2014-03-31 05:46:19 +11:00
Campbell Barton
0b8774fc42 Fix for missing break statements 2014-03-31 05:46:19 +11:00
Jens Verwiebe
d84bd56ec5 OSX: Remove the apple/omp workaround for now, to better judge compiler differences 2014-03-30 17:38:52 +02:00
Thomas Dinges
b99977ac60 And another compile fix for M_PI and msvc2008... 2014-03-30 15:36:09 +02:00
Campbell Barton
0319db1063 Correct own recent changes broke release builds 2014-03-30 20:35:59 +11:00
Campbell Barton
905c816834 Doxy comment for main() 2014-03-30 20:14:57 +11:00