Commit Graph

47594 Commits

Author SHA1 Message Date
191ad54599 svn merge -r36603:36628 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-12 05:35:19 +00:00
910220be47 == Radial control ==
Patch to make the radial control more generic with RNA. Patch was
reviewed here: http://codereview.appspot.com/4280080/

Prior to this update, the radial control code in trunk had generic
parts of the radial control implemented as an incomplete operator
within WM. Then each different user of the radial control had to
implement a separate operator to actually pass in specific brush data
-- e.g. sculpt's brush size, vpaint's brush size, etc.

This patch removes all the extra operators and makes the WM operator
do everything. It now takes several RNA path strings as its properties
-- the only required property is data_path, which specifies the data
to be modified by the radial control. The other paths affect display
in various ways, e.g. rotation, color, etc.

In addition to decreasing some duplicate paint brush code, these
updates make it pretty easy to enable radial control for other
purposes (and it can be set up entirely though python or keymaps, no
extra C code needed.)
2011-05-12 01:57:47 +00:00
521d824371 =bmesh=
1. Removed pinning, at least until after trunk
reintegration (it's a usefull feature, but
incomplete).

2. Ripped out the subclassing code I originally
wrote so bmesh would be more usable for modifiers 
(I ended up improving CDDM instead).

3. Inlined some of the macros in bmesh.h, still need to
do the macros in bmesh_operator_api.h.

4. Removed the BMESH_ITER_*** macros (except for BMESH_ITER_INDEX).
   They were too clunkly to be worth it.
2011-05-12 01:55:08 +00:00
88c3781b7c missing free call in rotsys_make_consistent 2011-05-12 00:20:35 +00:00
9f5de68e53 compile fix 2011-05-11 20:40:03 +00:00
b72f087e7e remove remaining event recording code 2011-05-11 20:39:27 +00:00
ee7b7a500a remove modified guardedalloc/ghost to rebranch from trunk 2011-05-11 20:36:30 +00:00
040f65f6c2 2.5 Smoke UI:
* More generic tooltip for "strength" property as it can be FFT as well. 
Discovered by tobkum in IRC. :)
2011-05-11 20:23:55 +00:00
3a34dcde68 Code cleanup: remove readblenfile module, only contained some utility functions
to read .blend files from runtimes, folded those into blenloader.
2011-05-11 19:29:23 +00:00
c865793d9e updated Ctrl+Click extrude for bmesh so it can rotate the initial selection (as in trunk), and added back vertex projection function. 2011-05-11 14:05:22 +00:00
fcc85eea12 recent camera border drawing glitch fix needs to be applied to the top right sides too. 2011-05-11 09:42:46 +00:00
1e90add66c more syncing with trunk. 2011-05-11 09:31:00 +00:00
b254960873 manually merged older changes from trunk. 2011-05-11 09:28:00 +00:00
75512cee82 reverting change made r20939 with custom data layer merging.
if this is really a fix it should be made in trunk first, but looks like it was committed by accident.
2011-05-11 08:43:39 +00:00
cd55aeaf6d set many vars & functions as static,
also commented invalid pin theme alpha assignment so bmesh branch builds with -Werror
2011-05-11 02:14:43 +00:00
a3ab7c01bb fix for glitch with drawing the 2d camera border over the 3d camera.
seems arbitrary and may be driver specific, but this value is in the middle of what works well on mesa software GL & my nvidia.
2011-05-11 00:59:22 +00:00
0f329ebdf1 svn merge -r36583:36603 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-11 00:19:13 +00:00
bcdd9d236c fixed 4 uses of un-inirialized vars + some compiler warnings. 2011-05-10 23:48:09 +00:00
a7b07ca584 =bmesh=
cleaned up multires projection math a bit,
and improved boundary smoothing.
2011-05-10 22:48:22 +00:00
086d013ec2 =bmesh= glsl drawing in editmode works again, also fixed some minor customdata bugs 2011-05-10 17:01:26 +00:00
0c990fba6e Bugfix #27305
RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!
2011-05-10 16:30:03 +00:00
f1f1dde1c8 Bugfix #27311
Physics Gravity property now has UI range of 0-25, but real range goes
to 10000 to allow scaled scenes.
2011-05-10 15:13:03 +00:00
89a166d0de remove some duplicate declarations 2011-05-10 14:48:06 +00:00
1d53ea0a65 Fix #27217: Bézier control points moves bizarre
Re-calculate handles after applying transform matrix on curve object

This commit is'n fixing changing of curve shape whe nyou're deforming it (as
it was intially reported) but just adds needed handles recalculation.

Handles are calculated correct in that "unneded deformed" curve.
2011-05-10 14:38:55 +00:00
eabb444106 minor cleanup: make functions static, use NULL for pointer comparisons,
also fixed a possible bug assigning incorrect DPX function types to
imbuf.
2011-05-10 13:11:36 +00:00
6d5f0bfac6 Typo in composition guides 2011-05-10 05:20:18 +00:00
2a14b0b327 entering non utf8 text in filepaths in the file selector would get incorrectly stripped. 2011-05-10 05:07:24 +00:00
2889f5ae2c camera composition guides: center, thirds, golden rule 2011-05-10 03:03:53 +00:00
21a9dc8d8b svn merge -r36564:36583 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-10 00:45:06 +00:00
a6b057eeea =bmesh= fixed mesh deform crasher 2011-05-09 22:16:31 +00:00
2197b4aff0 =bmesh= fixed unlink uv selection bug 2011-05-09 22:07:31 +00:00
422b24f2f2 =bmesh= fixed prop crasher and knifetool modal map typo 2011-05-09 22:05:07 +00:00
8a3ea78598 =bmesh= fixed dissolve verts crash 2011-05-09 21:55:15 +00:00
7798666091 =bmesh=
added modal keymap for knife tool.
I'm not sure how to handle the panning
pass-through, it's still hardcoded to
happen on MIDDLEMOUSE.
2011-05-09 21:38:55 +00:00
6acd2f1138 =bmesh= undo loopcut commit, for some reason the recent merge didn't catch it 2011-05-09 20:43:05 +00:00
d143eca2fc Fix #27346: When The FONT object is blank, the dimensions are calculated wong.
This commit fixes boundbox for empty curve-typed objects. Because of strange
reason (-1,-1,-1) and (1,1,1) was used as boundbox. Now it uses zero-sized
boundbox (as it's done for meshes).

This commit makes nothig with that single space character text from the report.
2011-05-09 20:14:34 +00:00
885141c9de patch [#21740] Image support for Empty Objects
from Andy Braham (andybraham)

This adds support for empties to reference images and draw in the 3D view.

Modifications from the original patch.
- use an empty draw 'image' type
- use image aspect ratio for non-square-pixels
- when the image is not found, still draw the frame.
2011-05-09 16:31:54 +00:00
1e0c3d315b minor cleanup, no functional changes. 2011-05-09 14:41:44 +00:00
5ba0c2c049 tag unused arguments, quiet some warnings 2011-05-09 14:32:55 +00:00
18e9d9c3e2 Recreate mipmaps after undo in image editor 2011-05-09 13:13:16 +00:00
42e2c47b3d Cycles: fix node outputs not connect to more than one input. 2011-05-09 11:02:04 +00:00
442baef055 Cycles: different fix for animation render, in render API instead of python script. 2011-05-09 10:43:09 +00:00
f0d91fec1b Cycles: fix crash when drawing properties UI while editing node links. 2011-05-09 10:40:53 +00:00
99ee18c684 Fix for memory leak caused by re-making mipmaps
Problem was caused by different limits for "last" mipmap: it was 1x1
for mkaing mipmaps and 2x2 for re-making.

2x2 should be enough for mipmap.
2011-05-09 10:03:06 +00:00
5776d7ff9c svn merge -r36529:36564 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-09 09:38:48 +00:00
9d8a08de55 warning fixes 2011-05-09 08:20:39 +00:00
4c71d9efb5 set svn end of lines to native 2011-05-09 08:15:38 +00:00
763adbc7b9 Code cleanup: warning fixes. 2011-05-09 08:01:48 +00:00
30155e958b Code cleanup: remove unused image window code, already implemented elsewhere. 2011-05-09 07:54:21 +00:00
f5bcf9211d moved more minor changes across from trunk, fixed some incorrect merges and removed unused includes. 2011-05-09 06:53:39 +00:00