Commit Graph

25454 Commits

Author SHA1 Message Date
Joseph Eagar ee7b7a500a remove modified guardedalloc/ghost to rebranch from trunk 2011-05-11 20:36:30 +00:00
Campbell Barton 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
Campbell Barton 1e90add66c more syncing with trunk. 2011-05-11 09:31:00 +00:00
Campbell Barton b254960873 manually merged older changes from trunk. 2011-05-11 09:28:00 +00:00
Campbell Barton 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
Campbell Barton 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
Campbell Barton 0f329ebdf1 svn merge -r36583:36603 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-11 00:19:13 +00:00
Campbell Barton bcdd9d236c fixed 4 uses of un-inirialized vars + some compiler warnings. 2011-05-10 23:48:09 +00:00
Joseph Eagar a7b07ca584 =bmesh=
cleaned up multires projection math a bit,
and improved boundary smoothing.
2011-05-10 22:48:22 +00:00
Joseph Eagar 086d013ec2 =bmesh= glsl drawing in editmode works again, also fixed some minor customdata bugs 2011-05-10 17:01:26 +00:00
Ton Roosendaal 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
Ton Roosendaal 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
Campbell Barton 89a166d0de remove some duplicate declarations 2011-05-10 14:48:06 +00:00
Sergey Sharybin 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
Campbell Barton 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
Daniel Salazar 6d5f0bfac6 Typo in composition guides 2011-05-10 05:20:18 +00:00
Campbell Barton 2a14b0b327 entering non utf8 text in filepaths in the file selector would get incorrectly stripped. 2011-05-10 05:07:24 +00:00
Campbell Barton 2889f5ae2c camera composition guides: center, thirds, golden rule 2011-05-10 03:03:53 +00:00
Campbell Barton 21a9dc8d8b svn merge -r36564:36583 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-10 00:45:06 +00:00
Joseph Eagar a6b057eeea =bmesh= fixed mesh deform crasher 2011-05-09 22:16:31 +00:00
Joseph Eagar 2197b4aff0 =bmesh= fixed unlink uv selection bug 2011-05-09 22:07:31 +00:00
Joseph Eagar 422b24f2f2 =bmesh= fixed prop crasher and knifetool modal map typo 2011-05-09 22:05:07 +00:00
Joseph Eagar 8a3ea78598 =bmesh= fixed dissolve verts crash 2011-05-09 21:55:15 +00:00
Joseph Eagar 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
Joseph Eagar 6acd2f1138 =bmesh= undo loopcut commit, for some reason the recent merge didn't catch it 2011-05-09 20:43:05 +00:00
Sergey Sharybin 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
Campbell Barton 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
Campbell Barton 1e0c3d315b minor cleanup, no functional changes. 2011-05-09 14:41:44 +00:00
Campbell Barton 5ba0c2c049 tag unused arguments, quiet some warnings 2011-05-09 14:32:55 +00:00
Sergey Sharybin 18e9d9c3e2 Recreate mipmaps after undo in image editor 2011-05-09 13:13:16 +00:00
Sergey Sharybin 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
Campbell Barton 5776d7ff9c svn merge -r36529:36564 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2011-05-09 09:38:48 +00:00
Campbell Barton 9d8a08de55 warning fixes 2011-05-09 08:20:39 +00:00
Campbell Barton 4c71d9efb5 set svn end of lines to native 2011-05-09 08:15:38 +00:00
Brecht Van Lommel 763adbc7b9 Code cleanup: warning fixes. 2011-05-09 08:01:48 +00:00
Brecht Van Lommel 30155e958b Code cleanup: remove unused image window code, already implemented elsewhere. 2011-05-09 07:54:21 +00:00
Campbell Barton f5bcf9211d moved more minor changes across from trunk, fixed some incorrect merges and removed unused includes. 2011-05-09 06:53:39 +00:00
Campbell Barton c8e2df0128 writing normal customdata was failing because vec3f type wasn't stored in SDNA. 2011-05-09 05:55:41 +00:00
Campbell Barton b93594bf30 quiet more compiler warnings, also found a bug using printf rather then fprintf. 2011-05-09 05:09:07 +00:00
Campbell Barton 5a2a3d7d82 more syncing with trunk, also cleared many warnings with gcc4.6 2011-05-09 04:06:48 +00:00
Campbell Barton 14a2330d7b copied across changes which were missed by merging. 2011-05-09 02:45:52 +00:00
Joseph Eagar 6ef77cf95a =bmesh= merge from trunk at r36529 2011-05-08 23:43:18 +00:00
Sergey Sharybin f8f4f73cc5 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.
2011-05-08 20:21:31 +00:00
Campbell Barton b432520799 fix [#27324] WindowManager.invoke_search_popup() crashes blender and does not work
also minor formatting fixes.
2011-05-08 12:51:05 +00:00
Campbell Barton d4e540dff3 comment some unused code. 2011-05-08 10:29:40 +00:00
Nathan Letwory ed3fd72210 Apply second half of [#21590] .dds textures: fix for DXT1n format + sync with upstream nvtt
submitted by Amorilia

This updates the DDS module with upstearm nvtt (r1042).
2011-05-08 09:05:52 +00:00
Joshua Leung aaa93c58b3 Fixes for bugs noticed during previous fix:
- In Drivers mode of Graph Editor, expanders for sub-object data were
not working at all. This was because they were getting overriden by an
errant ob-level drivers check
- Adding drivers from py-api didn't update Graph Editor
2011-05-08 05:41:57 +00:00
Joshua Leung 85b1b459ed RNA Bugfix:
The following script would fail:
#ob = bpy.context.active_object
pb = bpy.context.active_pose_bone
pb.bone.driver_add("hide")  # <--- exception here

The RNA-path function for Bone assumed that when it got called, it's
"id_data" (or owner-idblock-pointer) would only be ID_AR (i.e. an
armature). However, in the above example, pb.bone has ob as its
id_data, resulting in an invalid RNA path getting created. Added check
for this case, since it's likely to be common
2011-05-08 05:18:40 +00:00
Mitchell Stokes 2aea765d6e Committing patch [#27133] "Fix for for Object Color in BGE" by Kupoman
The tracker description:
"This patch fixes this bug:
http://projects.blender.org/tracker/index.php?func=detail&aid=25487&group_id=9&atid=306

This was accomplished by making sure the KX_GameObject's object color gets set during the conversion process in the method gameobject_from_blenderobject. Otherwise all the values for object color default to 0. The reason adding an IPO worked as a work around is because it set the object color."

The bug report mentioned is bug [#25487] "BGE: Object Color only works when it has a keyed frame"
2011-05-08 03:42:24 +00:00
Nathan Letwory 3fe841597b Apply part of [#21590] .dds textures: fix for DXT1n format
Submitted by Amorilia.

DXT1 .dds textures with 1-bit alpha channel have their alpha channel imported in Blender.

The patch also makes change to contact info for the patch submitter.

I left the sync with upstream nvtt for another commit.
2011-05-07 20:53:49 +00:00