Commit Graph

41576 Commits

Author SHA1 Message Date
Brecht Van Lommel
6a82b985c3 Fix #32815: cycles environment render as lamp crash with resolution >= 1024. 2012-10-08 12:15:18 +00:00
Lukas Toenne
5a9bb39e34 Fix for own commit r51178, duplicate line. 2012-10-08 12:02:55 +00:00
Sergey Sharybin
db54caf430 Fix #32800: Cycles viewport incredible slow with high number of tiles
Final rendering is clamping tile resolution if it's too small, which was missing for viewport
2012-10-08 11:48:51 +00:00
Lukas Toenne
10547d4c67 Allow user config files in qtcreator project.
The blender.config file used for local #defines in qtcreator projects is rewritten on every project update. To avoid losing user settings these can now be written to an optional blender_custom.config file, which is then merged into the main blender.config on updates.
2012-10-08 11:02:11 +00:00
Campbell Barton
ea3db4a71a resize info header (was too much white space) 2012-10-08 10:50:18 +00:00
Campbell Barton
5a721a4071 speaker and empty where hardly visible 2012-10-08 10:19:59 +00:00
Campbell Barton
5b14ce7218 update to ubuntu theme 2012-10-08 10:04:36 +00:00
Campbell Barton
7614428c09 style cleanup: pep8 2012-10-08 10:03:01 +00:00
Campbell Barton
1487ef9828 quiet msvc warning & allow zero arguments to add functions. 2012-10-08 09:39:35 +00:00
Joshua Leung
e91badc266 Code cleanup - Convert if blocks to switch 2012-10-08 08:44:48 +00:00
Campbell Barton
9fa36b12cc style cleanup: pep8 2012-10-08 08:28:05 +00:00
Bastien Montagne
f299813bfa Do not use nodeLabel() to generate new nodes' names, this is an UI func returning translated strings, which should never get into data. And it may generates dummy names in some situations (like all new Filter nodes were getting "Soften" as name (default option), better to always get "Filter" in this case!).
(Note for Lockal: also checked fcurves/drivers, but those names are directly taken from RNA prop name, hence they are as UI label, translated in the current language, but not stored in data. So no problem here ;) ).
2012-10-08 07:40:57 +00:00
Campbell Barton
8b7896814f code cleanup: reduce change the size of some float vectors that were bigger then they needed to be.
update to clang_array_check.py - parse function definitions lazily for some speedup.
2012-10-08 07:08:29 +00:00
Sergey Sharybin
321e9d8011 Fix #32803: Incorrect sequencer color space for newly added scenes 2012-10-08 06:38:34 +00:00
Joshua Leung
8b7f410f95 Code cleanup - silence some "uninitialised" warnings in BMesh code
There are still a lot more in bmo_bevel.c and bmo_extrude.c, but those don't
seem that easy to fix.
2012-10-08 06:28:06 +00:00
Joshua Leung
8b765373e1 Bugfix: No enum tooltips displayed for many 3D view navigation tools (+ Code
cleanup)

* Enum tooltips will only be detected in the case that we assign that as the
default property (ot->prop) of the operator. Set all of the offending properties
to get this status, since those operators would be useless without that property
anyway

* Improved the wording/capitalisation of a few of these tooltips and labels
2012-10-08 06:21:36 +00:00
Joshua Leung
565e7c8e3c Display enum descriptions in tooltips for operators using a "type" or "mode"
property

Changes:
This commit adds a second line to the tooltips (below the generic operator
description) showing the appropriate description for each enum option. This
brings it more into line enum properties in Blender which also show this sort of
information.

Rationale:
Operators such as Snap and Mirror in the Action and Graph Editors use an enum to
control their behaviour (respectively, "how to snap" or "what to use as the
mirror line"). In the menus, these options are displayed using a submenu, but
hovering over each of these items for more information from a tooltip only shows
the (relatively unhelpful) generic operator tooltip/description.

Another area where these descriptions are useful is for Keying Sets, where it's
now possible to see the descriptions for what each Keying Set
does/affects/requires. Again, this is more helpful than just the generic
tooltip, which would be something like "Insert keyframes using a Keying Set".
2012-10-08 05:57:52 +00:00
Joshua Leung
718dea8665 Patch [#32639] Pose breakdown confirm by Return Key
Thanks Julien DUROURE (julien)
2012-10-08 04:42:06 +00:00
Campbell Barton
d0f702df8f fix [#32799] right click select in filebrowser breaks opening folders
own regression since 2.63,

The path length for FILE_OT_select_bookmark was too short as well (256 --> FILE_MAXDIR).
2012-10-08 03:33:02 +00:00
Mitchell Stokes
244ce92dbd BGE: Setting up the RAS_ICanvas interface as the primary way to alter the OpenGL
viewport. This helps to eliminate OpenGL calls in weird places like the physics
code and to reduce glGet calls, which are expensive.

There should be no functional changes (except maybe a very slight speed improvement).
2012-10-08 03:28:11 +00:00
Campbell Barton
aa1e50be94 add option to build without blenders default avi codec. 2012-10-08 02:51:42 +00:00
Campbell Barton
2fd2775350 fix for crash in the sequencer if the video file fails to load (missing NULL check on imbuf),
all other uses of sequencer_imbuf_assign_spaces() check for NULL or assume IMB_allocImBuf() succeeds.
2012-10-08 02:20:47 +00:00
Mitchell Stokes
99dd59f08c BGE: Disable depth testing when drawing the overhead profile information in the Blenderplayer. This keeps the text from being blocked by geometry in the scene. 2012-10-08 01:25:21 +00:00
Campbell Barton
5807726ca7 quiet invalid warning in ffmpeg_log_callback with -Wmissing-format-attribute. 2012-10-08 01:05:37 +00:00
Campbell Barton
ebb8d3996c code cleanup: replace VECADDISFAC with math function. 2012-10-08 00:51:55 +00:00
Campbell Barton
2e81400b77 minor edit to type checking macro to avoid clangs static checker tagging the var as possibly NULL. 2012-10-07 23:58:57 +00:00
Dan Eicher
7b37e78c91 Grease Pencil py-api
* new/remove for GPencil frames/strokes/
* add/pop for points
* clear for frame/layer & grease_pencil
* copy for frame

+ fix for free_gpencil_frames() not clearing the active frame
2012-10-07 20:07:30 +00:00
Mitchell Stokes
9fcb7cd520 BGE: When applying movement to an object with the Character physics type, use the btKinematicCharacterController's setWalkDirection() instead of moving the physics object ourselves. This reduces issues with tunneling (the character going through other objects). 2012-10-07 19:10:03 +00:00
Sv. Lockal
c80c4c896a Fix file descriptor leak in BLI_file_ungzip_to_mem and small memleak in wm_window_title. 2012-10-07 15:39:47 +00:00
Brecht Van Lommel
e3ab85a3f5 Revert fix for #31806, needs a better solution, can hang compiling some shaders. 2012-10-07 14:15:50 +00:00
Campbell Barton
ccd9f1491a style cleanup: line length,
rename V3D_PROJ_RET_SUCCESS ->  V3D_PROJ_RET_OK
2012-10-07 14:00:18 +00:00
Campbell Barton
c0a9f3f6a1 code cleanup: grease pencil eraser had duplicated logic for getting screen coords of a point, move into a static function. 2012-10-07 12:31:56 +00:00
Campbell Barton
aedf450746 code cleanup: use checks for empty rather then size in the BGE 2012-10-07 12:28:19 +00:00
Campbell Barton
35f0ded377 fix for logical errors
- range check on hair_velocity_smoothing() was off by one.
- cloth sim parm's are used before NULL check in readfile.c
2012-10-07 10:01:54 +00:00
Campbell Barton
e8872a8ea2 style cleanup: if(); 2012-10-07 09:48:59 +00:00
Campbell Barton
7748133bf2 code cleanup: glare stream operation was setting alpha array twice. 2012-10-07 07:38:22 +00:00
Campbell Barton
1a9f930514 add type checking for more error prone macros. 2012-10-07 07:27:09 +00:00
Campbell Barton
89a415a49d rename avi files (endian.h is common linux include). 2012-10-07 06:27:31 +00:00
Campbell Barton
c530661db2 patch [#32556] Stupid endian conversion in avi format
from Andreas Schwab (schwab)

modified to use code from BLI_endian_switch.
2012-10-07 06:06:28 +00:00
Campbell Barton
a17e39476c Optimization for endian switching, but shifting is a lot faster then using a temp char (approx 18x speedup on my system). 2012-10-07 04:21:37 +00:00
Campbell Barton
d5de816a15 patch [#32791] Spelling mistakes corrected.
from Sunny Gogoi (darkowlzz)
2012-10-07 03:26:30 +00:00
Brecht Van Lommel
397d316ab1 Fix render engine API compatibility breakage in end_result, this parameter
should have been optional.
2012-10-07 00:30:31 +00:00
Mitchell Stokes
7beff06950 BGE: Committing patch [#31442] "API improvements: Group references python api, for better control over groups and instances" by Martin Sell (moerdn). This patch adds a member and a group property to KX_GameObject:
* KX_GameObject.member returns the list of group members if the object is a group object, otherwise None is returned
  * KX_GameObject.group returns the group object that the object belongs to or None if the object is not part of a group
2012-10-07 00:09:02 +00:00
Jens Verwiebe
e7db06ad9d Force USE_QTKIT for osx 64bit 2012-10-06 18:53:57 +00:00
Lukas Toenne
868df3525e Fix for WITH_LLVM cmake option: When using WITH_CYCLES_OSL this option is forced ON, but this change was not cached yet. Thanks to Jens Verwiebe for providing this fix. 2012-10-06 18:40:05 +00:00
Nicholas Bishop
e8bc62e162 Avoid unecessary minimizer calculations in dualcon
* The minimize() function, which solves a least-squares problem, is
  only needed for sharp remesh mode, but was being calculated for
  smooth and blocks modes as well. Disabling this calculation when
  it's not needed gives a big performance boost.
2012-10-06 18:28:38 +00:00
Nicholas Bishop
8b4baa347f Code cleanups for dualcon octree
* Move InternalNode operators from Octree class into InternalNode
  struct

* Constify various member functions
2012-10-06 18:28:34 +00:00
Nicholas Bishop
1e433e81ad Increase maximum octree depth to 12
Note that this is just an RNA change, underlying dualcon octree
already supports even higher values.
2012-10-06 17:51:52 +00:00
Thomas Dinges
f7d61831e1 Cycles / OSL:
* OSL UI message did not show up when device type was GPU, but User Preferences were None. Also remove experimental check, more convenient for testing.
2012-10-06 17:11:53 +00:00
Nicholas Bishop
0c0fa7dde6 Improve flat-shaded VBO drawing for sculpt meshes
Separate vertex copies are now made for flat-shading, such that the
normal is correctly flat-shaded. The element index buffer is not
created in this case.
2012-10-06 16:52:52 +00:00