Commit Graph

41790 Commits

Author SHA1 Message Date
Campbell Barton
4d4664d98f code cleanup: check for msvc directly when using warning pragma's. 2012-10-15 02:15:07 +00:00
Joshua Leung
977aaeb95c Streamlinining Bone Groups menu (Ctrl G)
The Ctrl-G menu for managing Bone Groups has always been a bit clunky,
especially when compared to the Hooks menu (Ctrl-H). This was because the old
menu was more data-orientated (Bone Group Management, Membership to these
groups) whereas this new arrangement should be a bit more task-orientated (Add
to new group, Add to active group, Remove from all groups, Remove active group).
2012-10-15 02:01:39 +00:00
Campbell Barton
18bf8993f7 fix for py-console ctrl+backspace/del changing the selection. 2012-10-14 21:27:08 +00:00
Sv. Lockal
1086069fb3 Fix for misplaced cursor in wrapped console prompt, also fixes newline for single wrap when input line width equals console width 2012-10-14 19:57:49 +00:00
Bastien Montagne
36c53ec9c3 Adding Estonian new language. 2012-10-14 19:38:27 +00:00
Bastien Montagne
b7f4c69ef7 More UI messages and BKE_reportf->BKE_report fixes... 2012-10-14 15:29:09 +00:00
Bastien Montagne
7b8dc4be0d Few minor fixes to i18n tools (mostly use ordered dicts too for "xgettexted" messages...). 2012-10-14 14:18:30 +00:00
Campbell Barton
459a2b38e0 correct another misuse of FLT_MIN 2012-10-14 13:21:40 +00:00
Campbell Barton
76d0ae0b3e fix for incorrect initial boundbox with svbvh raytracing. (bad use of FLT_MIN) 2012-10-14 13:18:32 +00:00
Campbell Barton
8e01b8959e style cleanup 2012-10-14 13:08:19 +00:00
Campbell Barton
3a947cf537 code cleanup: remove redundant casts 2012-10-14 08:49:01 +00:00
Campbell Barton
27e54f4d37 code cleanup: remove redundant casts. quiet some qualifier warnings. 2012-10-14 07:40:16 +00:00
Sergey Sharybin
76e2706b30 Fixed missing display buffer and mipmaps invalidation in cases only
few of selected objects failed to bake.
2012-10-14 06:59:01 +00:00
Campbell Barton
643f331cb5 Rip-fill mesh tool (option for rip operator)
Alt+V will fill the area inbetween the ripped faces - a bit like extrude.
faces are flipped to match existing geometry and customdata (uv, vcols etc) is copied from surrounding geometry too.
2012-10-14 04:42:11 +00:00
Mitchell Stokes
64b187a928 Blenderplayer: Fixing a crash on startup when the graphics driver tried to use uninitialized memory. I had fixed this previously in Swiss, but it looks like I missed grabbing the fix when bringing the GetViewPort() changes into trunk. 2012-10-14 04:22:38 +00:00
Campbell Barton
68d68e13b6 fix for error compiling on some platforms: use ll suffix for 64bit ints in BLI_endian_switch_int64() 2012-10-14 04:11:34 +00:00
Campbell Barton
3867633728 use safer string copy functions and change the define for FILE_MAX_LIBEXTRA to use MAX_ID_NAME (now greater then 32). 2012-10-14 03:56:47 +00:00
Bastien Montagne
e4cffb8836 Minor: precision in template_list doc, that only one list is allowed per template...
Note: I should really try to remove this stupid limitation!
2012-10-13 21:32:58 +00:00
Sergey Sharybin
34f674c60e Make zoom direction consistent all over the editors
Was discussed in De Balie with lots of artists and we agreed it makes more
sense to behave this way
2012-10-13 16:42:12 +00:00
Bastien Montagne
b50fc8ac68 More UI messages fixes.
Also forgot to translate reports' titles, and change some usages of BKE_reportf to simple BKE_report, when the former is not needed!
2012-10-13 15:44:50 +00:00
Bastien Montagne
3d6ab52f2b Add translation of reports messages (only direct uses of BKE_report(f)/BKE_reports_append(f) funcs for now). Already adds quite a bunch of new msgids! 2012-10-13 13:55:14 +00:00
Bastien Montagne
9f21b799c4 And more UI messages spell check. 2012-10-13 13:40:05 +00:00
Sergey Sharybin
3b88a29abf Cycles: progressive refine option
Just makes progressive refine :)

This means the whole image would be refined gradually using as much
threads as it's set in performance settings. Having enough tiles is
required to have this option working as it's expected.

Technically it's implemented by repeatedly computing next sample for
all the tiles before switching to next sample.

This works around 7-12% slower than regular tile-based rendering, so
use this option only if you really need it.

This commit also fixes progressive update of image when Save Buffers
option is enabled.

And one more thing this commit fixes is handling display buffer with
Save Buffers option enabled. If this option is enabled image buffer
wouldn't have neither byte nor float buffer until image is fully
rendered which could backfire in missing image while rendering in
cases color management cache became full.

This issue solved by allocating byte buffer for image buffer from
tile update callback.

Patch was reviewed by Brecht. He also made some minor edits to
original version to patch. Thanks, man!
2012-10-13 12:38:32 +00:00
Brecht Van Lommel
51105bb2bd Fix for wrong cycles tangent in some cases, was missing transform. 2012-10-13 12:11:01 +00:00
Campbell Barton
ee67123748 code cleanup: minor edits on recent commit. 2012-10-13 11:23:04 +00:00
Bastien Montagne
4ef69febeb More spell check exceptions... 2012-10-13 11:08:00 +00:00
Joshua Leung
b6b2f37f27 Lattice Editing: Distortion-Free "Flip" Operator
This operator (Ctrl-F) allows you to flip the lattice coordinates without
inverting the normals of meshes deformed by the lattice (or the lattice's
deformation space for that matter). Unlike the traditional mirror tool, this
tool is aware of the fact that the vertex order for lattice control points
matters, and that simply mirroring the coordinates will only cause the lattice
to have an inverted deform along a particular axis (i.e. it will be scaling by a
negative scaling factor along that axis).

The problems (as I discovered the other day) with having such an inverted
deformation space are that:
- the normals of meshes/objects inside that will be incorrect/flipped (and will
disappear in GLSL shading mode for instance)
- transforming objects deformed by the lattices will become really tricky and
counter-intuitive (e.g. rotate in opposite direction by asymmetric amounts to
get desired result)
- it is not always immediately obvious that problems have occurred

Specific use cases this operator is meant to solve:
1) You've created a lattice-based deformer for one cartoonish eye. Now you want
to make the second eye, but want to save some time crafting that basic shape
again but mirrored.
2) You've got an even more finely crafted setup for stretchy-rigs, and now need
to apply it to other parts of the rig.

Notes:
* I've implemented a separate operator for this vs extending/patching mirror
transform tool as it's easier to implement this way, but also because there are
still some cases where the old mirroring seems valid (i.e. you explicitly want
these sort of distortion effects).
* Currently this doesn't take selections into account, as it doesn't seem useful
to do so.
2012-10-13 10:42:38 +00:00
Campbell Barton
29ab21ee95 fix for own error, leaving in test code to set the smooth flag. 2012-10-13 10:41:34 +00:00
Gaia Clary
4941f8ac44 added filter for user installed addons 2012-10-13 10:33:09 +00:00
Gaia Clary
3fa24c7d5f differenciate log message for enabled/disabled modules 2012-10-13 10:31:35 +00:00
Campbell Barton
f81b06cfa5 improve edge rip when the edge has only 2 other connected edges.
common case ripping an edge of the default cube, it didn't run the edge size check.
2012-10-13 03:59:06 +00:00
Campbell Barton
da155c2dcb style cleanup: spelling 2012-10-13 03:54:27 +00:00
Campbell Barton
7412e321a3 add support for ripping off a single face from a single vertex when the vertex has 3 surrounding verts & faces. 2012-10-13 01:46:57 +00:00
Joshua Leung
a798623fff Bugfix [#32865] Usercounts for World Textures not decremented after preview
render

When adjusting settings for world textures (with Both/World preview modes),
every tweak would result in the usercount of the texture increasing. As a
result, before long the texture would claim to have over 100 users. Fortunately,
this only appeared to be just a cosmetic issue (i.e. no real memory leak here),
though it was a bit unsettling.

NOTE: this is still a bit glitchy, as now we have flickering when updating
texture settings - the texture still temporarily has a second user during
preview rendering.
2012-10-13 01:19:23 +00:00
Jiri Hnidek
13d829e57d * Fix small bug in Python operator example; improved example of modal operator 2012-10-12 18:19:39 +00:00
Thomas Dinges
1958fda91f Templates:
* UI Panel: Add examples for different button sizes.
2012-10-12 18:10:15 +00:00
Campbell Barton
67e2768570 quiet some -Wshadow warnings 2012-10-12 14:35:10 +00:00
Campbell Barton
d4ed5ab92a code cleanup: video playback move frame step into the PlayState struct. 2012-10-12 14:03:43 +00:00
Campbell Barton
3d9812c5d1 fix for own error in copy_as_script(), imports were incorrect. 2012-10-12 04:00:41 +00:00
Campbell Barton
8437980b81 optimization for PyObject -> ID-property sequence conversion, use PySequence_Fast. 2012-10-12 03:59:50 +00:00
Campbell Barton
f97dfdf227 quiet clang static checker warning by returning an error for invalid situation getting an IDProp mapping from a PyObject.
also print the path installed to when installing an addon.
2012-10-12 03:24:47 +00:00
Campbell Barton
40186a8c11 remove BLI_noise from BLI_blenlib.h, not that many files need this. 2012-10-12 00:18:32 +00:00
Campbell Barton
28c20e456f fix for many RNA definitions having soft/hard ranges swapped, make this BLI_assert() on debug builds. 2012-10-11 23:46:12 +00:00
Campbell Barton
4124e2e0c9 get the width and height of the font at once when drawing auto-key,
also move BLF'g global font init into its own static function.
2012-10-11 23:42:26 +00:00
Bastien Montagne
0e6e171cdd Revert part of own r51193 (now I know where Courant comes from...), and add another exception to UI messages spellchecker! Thanks to Lockal for pointing this. 2012-10-11 18:41:07 +00:00
Joshua Leung
38e5562447 Removed duplicate include of stdio.h
At least on mingw, this doesn't seem to be needed.
2012-10-11 10:19:38 +00:00
Jens Verwiebe
1e448fa3e2 OSX/cmake: after osl librenew with globals patch, forcing oiio is not longer needed 2012-10-11 10:15:37 +00:00
Joshua Leung
fc1467df5f Auto key warning - Stripping down to basics
Now just a static icon + text display in corner of view. No blinking. No
red/orange text. No window borders.
2012-10-11 09:53:17 +00:00
Joshua Leung
d876e4876f Limit Distance Constraint - jpbouza Feature Request
The Limit Distance constraint is now allowed to use the owner/target space
settings. Previously this wasn't exposed it didn't seem sensible/useful.
However, this can be useful when dealing with dependencies between bones and the
armature gets scaled.

Usage notes:
- It is advised to select the same space for both owner and target, otherwise
the comparisons are meaningless
2012-10-11 08:26:49 +00:00
Campbell Barton
0bf1a16203 style cleanup 2012-10-11 03:25:19 +00:00