9 years agoCode cleanup: remove readblenfile module, only contained some utility functions
Brecht Van Lommel [Wed, 11 May 2011 19:29:23 +0000 (19:29 +0000)]
Code cleanup: remove readblenfile module, only contained some utility functions
to read .blend files from runtimes, folded those into blenloader.

9 years agorecent camera border drawing glitch fix needs to be applied to the top right sides...
Campbell Barton [Wed, 11 May 2011 09:42:46 +0000 (09:42 +0000)]
recent camera border drawing glitch fix needs to be applied to the top right sides too.

9 years agofix for glitch with drawing the 2d camera border over the 3d camera.
Campbell Barton [Wed, 11 May 2011 00:59:22 +0000 (00:59 +0000)]
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.

9 years agoApply patch from Ryakiotakis Antonis as posted on ML
Nathan Letwory [Tue, 10 May 2011 23:54:15 +0000 (23:54 +0000)]
Apply patch from Ryakiotakis Antonis as posted on ML

Should fix MingW build problems - mingw users, please test too :)

9 years agoMingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.
Nathan Letwory [Tue, 10 May 2011 23:38:40 +0000 (23:38 +0000)]
MingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't already.

9 years agopatch from Dan Eicher for cpack rpms
Campbell Barton [Tue, 10 May 2011 21:59:11 +0000 (21:59 +0000)]
patch from Dan Eicher for cpack rpms

9 years agoBugfix #27305
Ton Roosendaal [Tue, 10 May 2011 16:30:03 +0000 (16:30 +0000)]
Bugfix #27305

RGB color node supports to set alpha too but never put alpha in the output.
Report + fix provided by Dani G. Thanks!

9 years agoBugfix #27311
Ton Roosendaal [Tue, 10 May 2011 15:13:03 +0000 (15:13 +0000)]
Bugfix #27311

Physics Gravity property now has UI range of 0-25, but real range goes
to 10000 to allow scaled scenes.

9 years agoremove some duplicate declarations
Campbell Barton [Tue, 10 May 2011 14:48:06 +0000 (14:48 +0000)]
remove some duplicate declarations

9 years agoFix #27217: Bézier control points moves bizarre
Sergey Sharybin [Tue, 10 May 2011 14:38:55 +0000 (14:38 +0000)]
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.

9 years agominor cleanup: make functions static, use NULL for pointer comparisons,
Campbell Barton [Tue, 10 May 2011 13:11:36 +0000 (13:11 +0000)]
minor cleanup: make functions static, use NULL for pointer comparisons,

also fixed a possible bug assigning incorrect DPX function types to

9 years agoTypo in composition guides
Daniel Salazar [Tue, 10 May 2011 05:20:18 +0000 (05:20 +0000)]
Typo in composition guides

9 years agoentering non utf8 text in filepaths in the file selector would get incorrectly stripped.
Campbell Barton [Tue, 10 May 2011 05:07:24 +0000 (05:07 +0000)]
entering non utf8 text in filepaths in the file selector would get incorrectly stripped.

9 years agocamera composition guides: center, thirds, golden rule
Campbell Barton [Tue, 10 May 2011 03:03:53 +0000 (03:03 +0000)]
camera composition guides: center, thirds, golden rule

9 years agoRevert rename of r36578, breaks scons compile.
Nathan Letwory [Mon, 9 May 2011 21:34:52 +0000 (21:34 +0000)]
Revert rename of r36578, breaks scons compile.

9 years agoFix #27346: When The FONT object is blank, the dimensions are calculated wong.
Sergey Sharybin [Mon, 9 May 2011 20:14:34 +0000 (20:14 +0000)]
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.

9 years agoSVN maintenance.
Guillermo S. Romero [Mon, 9 May 2011 20:13:48 +0000 (20:13 +0000)]
SVN maintenance.

9 years agopatch [#21740] Image support for Empty Objects
Campbell Barton [Mon, 9 May 2011 16:31:54 +0000 (16:31 +0000)]
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.

9 years agominor cleanup, no functional changes.
Campbell Barton [Mon, 9 May 2011 14:41:44 +0000 (14:41 +0000)]
minor cleanup, no functional changes.

9 years agoRecreate mipmaps after undo in image editor
Sergey Sharybin [Mon, 9 May 2011 13:13:16 +0000 (13:13 +0000)]
Recreate mipmaps after undo in image editor

9 years agofixed scrolling lists with the mousewheel for some X11 windowmanagers.
M.G. Kishalmi [Mon, 9 May 2011 12:46:59 +0000 (12:46 +0000)]
fixed scrolling lists with the mousewheel for some X11 windowmanagers.

some WMs not only send 'crossing' events when really moving from one
window to another, but also when mousewheeling.
distinguishing those events 'mode' property fixed this.

brecht++ for figuring out the details.

9 years agoFix for memory leak caused by re-making mipmaps
Sergey Sharybin [Mon, 9 May 2011 10:03:06 +0000 (10:03 +0000)]
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.

9 years agoset svn end of lines to native
Campbell Barton [Mon, 9 May 2011 08:15:38 +0000 (08:15 +0000)]
set svn end of lines to native

9 years agoCode cleanup: warning fixes.
Brecht Van Lommel [Mon, 9 May 2011 08:01:48 +0000 (08:01 +0000)]
Code cleanup: warning fixes.

9 years agoCode cleanup: remove unused image window code, already implemented elsewhere.
Brecht Van Lommel [Mon, 9 May 2011 07:54:21 +0000 (07:54 +0000)]
Code cleanup: remove unused image window code, already implemented elsewhere.

9 years agoBug fix own collection:
Sergey Sharybin [Sun, 8 May 2011 20:21:31 +0000 (20:21 +0000)]
Bug fix own collection:
 - Recreate mipmaps if they're dirty when drawing background image
   (this prevents "delayed" update of background image when you're paiting on it
    in image editor).
 - Mark mipmaps as dirty when inverting image channels.

TODO: there's memory leak caused by IMB_remakemipmap, but it'll be
      anuther bugfix commit after discussion with other devs.

9 years agofix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
Campbell Barton [Sun, 8 May 2011 12:51:05 +0000 (12:51 +0000)]
fix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
also minor formatting fixes.