Commit Graph

49063 Commits

Author SHA1 Message Date
Thomas Dinges
9732c6283e Cycles / CPU Rendering:
* "Auto Detect" now again uses the umber of cores, instead number of cores + 1.

This was added before we had Tile rendering and benchmarks on several systems showed that there is no gain with this now. There might be some slight difference (0.5% or so) slower/faster depending on the scene, but this is negligible.
2013-07-20 00:40:03 +00:00
Campbell Barton
a2a99bbc17 edit to r58425, BLI_math is available here, better not copy,paste from linearrgb_to_srgb.
also remove redundant check in AUD_FFMPEGReader::seek.
2013-07-20 00:35:41 +00:00
Thomas Dinges
e3c9fcd1bb * Compile fix for overloaded pow() function. 2013-07-20 00:21:16 +00:00
Campbell Barton
4b0f50597f revert r58419. caller should do NULL check here. 2013-07-20 00:15:01 +00:00
Thomas Dinges
ac1d58d962 Cycles / Sampling Presets:
* Add Presets for Sampling. This comes with a simple Preview and Final preset, but as this is varying a lot depending on the scene, they should just be a starting point. The user can add own presets here.

* Some UI layout changes to match the settings a bit better.
2013-07-19 23:59:40 +00:00
Mitchell Stokes
cf62de6c6d BGE: Partial fix for [#36151] "Distance model not carrying over to standalone" reported by Florian Schneider (drjaska).
The Blenderplayer wasn't initializing 3D audio settings from the scene settings like the embedded player was.
2013-07-19 23:31:45 +00:00
Daniel Stokes
017f09b9d4 BGE fix [#35195] Shadow Only lamps only work with Specular enabled
The way we do shadow only doesn't work well with colored shadows, though it does work if you apply enough light to the shadow.
2013-07-19 23:00:42 +00:00
Thomas Dinges
51a3371d87 Code cleanup / Cycles:
* Use USHRT_MAX rather than manual value, suggested by Campbell.
2013-07-19 22:56:54 +00:00
Daniel Stokes
a07ac7e644 BGE fix [#35563] Object colour setting for objects and fonts not using colour management like materials 2013-07-19 22:54:02 +00:00
Thomas Dinges
d336ae8992 Cycles / Sampling UI:
* Add a "Squared Samples" option to the UI, to use squared values for ease of use. This can make it easier from an artist point of view, to weak settings. 

With this enabled, all Sample values will be squared. So 10 Samples become 100 Samples.
For the Non-Progressive integrator: 4 AA Samples * 5 Diffuse Samples would become 16 AA Samples * 25 Diffuse = 400 in total.

Patch by Matt Heimlich, with some minor edits by myself. Thanks!
2013-07-19 22:51:48 +00:00
Mitchell Stokes
3cd53aff09 Merging from ge_dev to trunk r58091-58422. 2013-07-19 22:37:40 +00:00
Daniel Stokes
23dccfadf0 Bge fix [#33016] Blender crashes when I start the game engine
Caused by a bit of a disconnect from the BGE mesh and BMesh.
2013-07-19 22:11:26 +00:00
Mitchell Stokes
103ef7cacb Merged changes from trunk r58324-58419. 2013-07-19 22:10:11 +00:00
Daniel Stokes
318aacbc8c Cleaning up some warnings that occur when an invalid navmesh is generated. 2013-07-19 22:07:38 +00:00
Daniel Stokes
869d654ccc BGE fix [#36223] Strange page fault of "Game" actuator
Adding a NULL check to BLI_ghash_lookup
2013-07-19 22:04:06 +00:00
Bastien Montagne
68c0028ebc Add Tamil characters to our i18n font (from samyak-tamil). 2013-07-19 20:28:46 +00:00
Antony Riakiotakis
dda61cc82f Fix some definitions for MinGW64 2013-07-19 19:19:15 +00:00
Campbell Barton
a2492e0603 style cleanup: braces/indentation 2013-07-19 16:44:17 +00:00
Campbell Barton
397da50002 style cleanup: switch statements, include break statements within braces & indent.
also indent case's within the switch (we already did both of these almost everywhere)
2013-07-19 15:23:42 +00:00
Thomas Dinges
fd1d4151f1 Fix for [#36216] Viewport render with CMJ sampler and unlimited passes freezes
* If Preview Samples are set to 0 (unlimited) it now assumes 65536 instead of INT_MAX. 

This doesn't affect regular sampling, you can still enter fixed values of 100k or whatever.
2013-07-19 14:00:53 +00:00
Thomas Dinges
97397895b4 Nodes / UI:
* Change UI string for LayerWeight node to "Layer Weight" (with the gap in between), for consistency with other nodes.
2013-07-19 12:39:58 +00:00
Thomas Dinges
b1990fa1b1 Blender 2.69 Release Cycle:
* BCon1: Alpha.
2013-07-19 12:33:09 +00:00
Campbell Barton
7087b8b9fe code cleanup: remove BLI_array use when extruding individual faces. also use BM_face_copy utility function. 2013-07-19 11:45:21 +00:00
Campbell Barton
de14c301ab add keybinding for dolly: shift +/- 2013-07-19 11:19:29 +00:00
Campbell Barton
e2b7c138f6 patch [#36000] View lock offset (allow panning when the view is locked)
own patch
2013-07-19 10:54:02 +00:00
Campbell Barton
2dc6b22382 patch [#35789] Quick hack select more/less tool for armatures
by Pedro Riera (priera), Andrey Dubravin and parts rewritten by myself.
2013-07-19 10:51:54 +00:00
Campbell Barton
80f3b32e06 patch [#35789] Quick hack more/less tool for lattices
by Pedro Riera (priera), Andrey Dubravin, I also made some changes.
2013-07-19 10:49:23 +00:00
Campbell Barton
df299ab500 patch [#36032] Quick Hack lattice random selection
by Andrey Dubravin (daa)
2013-07-19 10:44:39 +00:00
Campbell Barton
02468b290a code cleanup: use MEM_mallocN rather then MEM_callocN when the array is
overwritten immediately after.
2013-07-19 10:41:16 +00:00
Campbell Barton
2d97a096d7 add rna attribute 'frame_current_final', without this you had to
manually calcualte it with the subframe and time remapping vars.
2013-07-19 10:41:09 +00:00
Campbell Barton
dc06041049 code cleanup: use __linux__ define over linux 2013-07-19 10:41:04 +00:00
Campbell Barton
bc5ecbc393 optimization: avoid extra loop in BLI_mempool_destroy(). free the list inline. 2013-07-19 10:40:57 +00:00
Campbell Barton
3daa153d74 code cleanup: use boolean for derived mesh face test function 2013-07-19 10:40:52 +00:00
Campbell Barton
824ec5a388 code cleanup: case & brace placement 2013-07-19 10:40:43 +00:00
Campbell Barton
cbe43fd385 code cleanup: pass event by pointer to getClipboard_xcout 2013-07-19 10:40:27 +00:00
Campbell Barton
f4609acedc optimization: avoid memcpy with shake key vertex array. 2013-07-19 10:40:20 +00:00
Campbell Barton
965d2fd426 code cleanup: inconsistent 'break' placement in BKE_object_minmax 2013-07-19 10:40:12 +00:00
Campbell Barton
efc7b7a285 code cleanup: replace inline loop with BLI_findstring 2013-07-19 10:40:06 +00:00
Campbell Barton
a926d9a0d4 code cleanup: remove redundant multiplying when jittering widget drawing. 2013-07-19 10:40:01 +00:00
Campbell Barton
fea5af0d88 code cleanup: replace wm_macro_modal inline search for BLI_findptr. 2013-07-19 10:39:55 +00:00
Campbell Barton
40c2f52dbf code cleanup: simplify BLI_parent_dir using BLI_join_dirfile 2013-07-19 10:39:49 +00:00
Campbell Barton
a15ac6ee09 code cleanup: use bool for widget struct, also edit odd strncpy use. 2013-07-19 10:39:44 +00:00
Campbell Barton
33e0bc6b48 code cleanup: avoid sqrt in isect_seg_seg_v2_point 2013-07-19 10:39:37 +00:00
Campbell Barton
79b919644b code cleanup: remove array reallocation in bmesh duplicate function (use alloca) 2013-07-19 10:39:32 +00:00
Campbell Barton
b7826c42df enable type limits warning when compiling with gcc. 2013-07-19 10:39:25 +00:00
Campbell Barton
4e1afbe7cd fix [#36218] Crash attempting to delete right side of hard cut in VSE on movie strip
deleting a strip would try free the anim membe twice.
2013-07-19 08:04:05 +00:00
Ton Roosendaal
530bcc422e Tradtional release commit! 2.68 splash and the numbering.
- This should then follow the tagging
- And I would still prefer to have at least 24 hours full freeze, for proper test
  and avoid last minute errors.
2013-07-18 10:08:28 +00:00
Gaia Clary
1d4bd90c84 Avoid creating Morph Controllers when shape key export is disabled 2013-07-18 07:54:19 +00:00
Campbell Barton
66f6ace938 fix for action editor view-selected behaving strangely.
- when an fcurve had no selected keyframes, a default fallback value was used which caused view-selected to include frame 1, even when no selected frames were there.

- the vertical axis was always reset, ideally we would center vertically too but the way this operator currently works we only know about the frame range,
  now don't change the vertical scroll when viewing selected since it would always jump to the top of the screen (view-all still acts this way).
2013-07-18 02:59:28 +00:00
Thomas Dinges
271ffb43e5 * Fix a typo in code. 2013-07-17 21:25:44 +00:00