Campbell Barton
16ff7e40e6
code cleanup: change C naming convention (so py and C api match), eg:
...
C: BM_face_calc_area(f), Py: BMFace.calc_area()
2012-04-23 01:19:50 +00:00
Antony Riakiotakis
c498c0eb42
Update build files to use the new lib locations for MinGW. For builders: you will need to checkout https://svn.blender.org/svnroot/bf-blender/trunk/lib/mingw32/
...
to build with MinGW past this commit.
2012-04-23 01:11:42 +00:00
Campbell Barton
e26ef899c3
clear the FGON edge flag when updating old meshes to polygons. (we may wan't to reuse the flag later)
2012-04-23 00:58:17 +00:00
Campbell Barton
a1b9608ddd
add mesh example with docs explaining polygon / loop relationship
2012-04-23 00:20:32 +00:00
Campbell Barton
1642e2888c
rename Mesh.uv_loop_layers --> uv_layers
...
add filtering for document generator to support --partial bpy.types.SomeType
2012-04-22 23:51:50 +00:00
Daniel Genrich
a164aa1ab6
Bugfix [ #30298 ] Fluid-Sytem does not work! (Part 2, Part 1 fixed by Brecht)
...
Canceling fluid simulation did not work when speed was zero.
2012-04-22 17:31:39 +00:00
Antony Riakiotakis
ff06260ea1
Solve restriction of MinGW that users have to turn ffmpeg on for cmake.
2012-04-22 14:33:40 +00:00
Campbell Barton
5c89138684
style cleanup: comments
2012-04-22 11:54:53 +00:00
Jens Verwiebe
69d0a68f0d
OSX/cmake: LESS must be VERSION_LESS for XCODE_VERSION
2012-04-22 11:23:17 +00:00
Campbell Barton
49ff0eeec4
bmesh py api: expose BM_face_split_n() to the python api;
...
face_fill(..., coords=(v1, v2, ...))
This is the same function the knife tool uses. should be handy for dicing up geometry in py.
2012-04-22 10:19:24 +00:00
Campbell Barton
d5023f0e91
correction to py docs from mgschwan on IRC.
2012-04-22 08:36:39 +00:00
Campbell Barton
3508bf1b83
Ctrl+RMB to select an object in editmode didnt work in edge mode (which is not great usability imho and confusing),
...
now pass through if no edges can be tagged and select the object.
2012-04-22 05:30:34 +00:00
Mitchell Stokes
2912314838
Missed this file in my last commit.
2012-04-22 04:01:14 +00:00
Campbell Barton
cd2b142ba0
small speedup to VertDataMulN(av, n), when passed expressions to 'n' they were calculated 3 times, cuts 78 instructions from resulting assembly (gcc -O2).
2012-04-22 03:25:48 +00:00
Campbell Barton
ac5058b281
subsurf - avoid 'for' loop finding the edge index in a face multiple times when calling _face_getIFCoEdge. add asset so passing wrong value errors out in debug mode. gives small speedup to subsurf.
2012-04-22 03:07:21 +00:00
Mitchell Stokes
3b686116ea
Fix for bug #30219 : "Obstacle Simulation of Steering Actuator does not work with added objects"
...
The steering actuator was filling its m_obstacle member when it was created (i.e., conversion time), which meant it had the wrong pointer after the actuator was replicated. Now m_obstacle is reassigned when the actuator is replicated.
2012-04-22 02:16:33 +00:00
Tamito Kajiyama
f11926795f
Suppressed a compiler warning about an empty controlled statement.
...
Reported by flokkievids, thanks!
2012-04-22 01:23:02 +00:00
Tamito Kajiyama
4a63eb9321
Added operators for adding the data paths to Freestyle edge/face mark properties of
...
selected edges/polygons into the active keying set. This makes it easy to keyframe
a number of Freestyle edge/face marks.
2012-04-22 00:59:27 +00:00
Campbell Barton
e57d258169
- fix memory leak in mesh_strip_loose_polysloops(), occurred during 3ds import.
...
- updating normals in py/api's mesh.transform() wasn't working and gave annoying print, disable this, script authors can call calc_normals explicitly if they need.
2012-04-22 00:27:38 +00:00
Campbell Barton
126f766b4c
style cleanup
2012-04-22 00:20:58 +00:00
Daniel Genrich
21f6bac0a3
Fix [ #30954 ] Fluid obstacle checkbox has no effect
...
Note: Supporting obstacles which can be enabled/disabled as animated propoerty is not likely to happen. So I marked this as "Won't fix"/TODO.
I also reverted last commit on this bug because it didn't work and disabled the property from UI to avoid confusion.
2012-04-21 22:09:09 +00:00
Campbell Barton
64fe7139ec
fix [ #31045 ]
...
the blender game engine could reference a freed texface or mcolor array.
2012-04-21 15:56:50 +00:00
Campbell Barton
b56aabf815
style cleanup: multi-line if statements.
2012-04-21 15:11:03 +00:00
Campbell Barton
8765dfccf7
style cleanup: correct typos
2012-04-21 14:14:58 +00:00
Campbell Barton
1c54eaecd8
fix [ #31049 ] New Faces (F) always solid shaded
2012-04-21 13:58:29 +00:00
Campbell Barton
1615b46963
style cleanup
2012-04-21 13:37:26 +00:00
Lukas Toenne
d02aed6c64
Fix for image node: has to check the number of actual node sockets before accessing the output data stack, to avoid reading uninitialized memory.
2012-04-21 13:36:57 +00:00
Campbell Barton
7e7d28e3ad
fix [ #31048 ] converting curve object to mesh makes object disapper from 3D view
2012-04-21 13:08:26 +00:00
Campbell Barton
6701933f5c
style cleanup
2012-04-21 12:51:47 +00:00
Campbell Barton
96b024333e
fix [ #31047 ] ctrl+mouse select in edit-mode does not select external object
...
fix [#30535 ] Shortest Path Select not working well in vertex mode.
regression from after bmesh merge, Ctrl+Right mouse for selecting shortest path is meant for edge mode only.
2012-04-21 12:14:07 +00:00
Campbell Barton
f910abadda
fix error in recent rip refactor, also add comment.
2012-04-21 06:42:21 +00:00
Tamito Kajiyama
cdbfd1db38
Merged changes in the trunk up to revision 45820.
...
Conflicts resolved:
source/creator/creator.c
2012-04-21 00:33:36 +00:00
Campbell Barton
15eb3452ec
style cleanup: pep8, also quiet compiler warning.
2012-04-20 18:50:18 +00:00
Campbell Barton
2e20d3dc96
fix for error using uninitialized variable with shape key conversion.
2012-04-20 18:34:58 +00:00
Bastien Montagne
3dcd5a196d
Fix [ #31008 ] IK armature resize goes ugly (Pose mode resize).
...
This affected legacy solver. Note that even if I don't expect any, this fix *may* break some other IK setups, so animators, please check your IK rigs using legacy solver. ;) Easy to revert if needed, anyway.
Note that iTaSC solver is also buggy with some scaled parent, but here IK'ed bones just can’t get scaled in any way (either from parent or from there own transformation)... Will try to find what's happenning, though the code is even harder than legacy solver to follow :/
2012-04-20 17:26:40 +00:00
Campbell Barton
b26865ba99
code cleanup: prefer BM_face/edge/vert_select_set() over BM_elem_select_set() when the type is known (saves switch statement check on the type).
...
Add asserts so the correct types are ensured.
2012-04-20 16:55:47 +00:00
Campbell Barton
91dc245f93
attempt to fix [ #31033 ], cant redo the bug but button layout wasnt great
...
- no more blank space under XYZ
- scales with DPI
2012-04-20 16:17:52 +00:00
Campbell Barton
6ef9f021bc
fix [ #31036 ] image.gl_load() consistently segfault at gluBuild2DMipmaps
...
incorrect argument to gluBuild2DMipmaps()
2012-04-20 15:06:54 +00:00
Campbell Barton
f627745053
aparently yards are not used a lot, suppress their use in button display (input still knows about them) - was reported as a bug.
...
also fix minor rip bug where active selection was lost.
2012-04-20 14:59:24 +00:00
Antony Riakiotakis
cb3dc8ff0e
Knife tool: Increase the header string length to avoid clipping the message.
2012-04-20 14:46:46 +00:00
Campbell Barton
380e6c2a58
refactor rip tool out into vert/edge functions, was getting too unweildy having them mixed in.
2012-04-20 14:36:06 +00:00
Campbell Barton
ed81982049
knife tool alpha values where being set to zero (intersection points weren't visible), error made when converting to theme colors.
...
also minor bmesh style cleanup.
2012-04-20 13:45:38 +00:00
Sergey Sharybin
f380a5430f
Merging r45801 through r45809 from trunk into soc-2011-tomato
2012-04-20 13:15:57 +00:00
Lukas Toenne
71ac500fc2
Fix for particle dupli group relative offsets. The relative transforms of objects in the instanced group were not scaled according to the particle size, which would be expected when rendering as 'Whole Group'. Requested by Francesco Siddi (fsiddi) over IRC.
2012-04-20 12:55:57 +00:00
Brecht Van Lommel
90332f69a7
Tomato branch: "persistent" parameter for addon_utils.enable(), so that we can
...
enable addons from a startup script and keep them enabled after loading .blend
files.
2012-04-20 12:55:44 +00:00
Campbell Barton
5874106ea7
style cleanup
2012-04-20 12:26:16 +00:00
Campbell Barton
4d1faf1fd9
knife tool: use the knife mouse cursor, dont store the context in the knife tool data, also rename struct camel case (follow own style guide)
2012-04-20 12:19:09 +00:00
Campbell Barton
aa02acfe95
knife tool: store color once on initializations, de-select only when cutting selected.
2012-04-20 12:05:08 +00:00
Campbell Barton
617af9d99d
knife tool now selects newly cut edges.
2012-04-20 11:14:16 +00:00
Campbell Barton
3d851bfd5b
knife tool modifications
...
from user freedback it seems there are 2 use cases, both valid.
* Select geometry and cut the selection in half (as 2.4x worked)
* Point-to-point define the faces to cut, dont cut through everything (only cut what you see).
With the second, since you are already selecting the edges to cut and snapping to them. only cutting the selecting is limiting/annoying.
Modifying these options while the knife tool runs doesn't work well, so expose under 2 keys, K, Shift-K.
2012-04-20 10:52:13 +00:00