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
5ba0c2c049
tag unused arguments, quiet some warnings
2011-05-09 14:32:55 +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
Campbell Barton
ca419b47a4
fix [ #27298 ] Alt + RMB always extends selection
2011-05-06 23:46:24 +00:00
Campbell Barton
ea5b43d862
fix [ #26920 ] working with bones causes segmetation fault.
...
ITASC IK solver data wasn't being cleared when constraints were removed, would access freed memory and crash.
2011-05-04 05:52:14 +00:00
Campbell Barton
0a415b6e71
replace OBJECT_OT_location_apply, OBJECT_OT_scale_apply, OBJECT_OT_rotation_apply with OBJECT_OT_transform_apply with 3 boolean options.
...
added back menu item from 2.4x to apply Rotation & Scale.
2011-05-03 07:09:02 +00:00
Joseph Eagar
f9bcacdbe8
=bmesh=
...
Fixed some bugs with mesh primitive add
operators. Suzanne now faces forward,
instead of down. Cylinder and circle
both now work. Cone lets you adjust the
diameter at both ends now.
I also reorganized the walker code, to
be more maintainable and understandable.
2011-05-01 18:53:18 +00:00
Joseph Eagar
e5d3923a61
edge slide works in ortho now
2011-04-24 07:45:24 +00:00
Campbell Barton
7faa531a62
fix for possible crash using an un-initialized pointer when getting a vertex weight from a non-mesh/lattice object.
2011-04-23 07:28:30 +00:00
Campbell Barton
1518d43f27
cancelling bake wasn't freeing the bake mask.
2011-04-22 16:47:17 +00:00
Campbell Barton
284a0d3610
pass even mouse coords value as const so its not edited, view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-21 17:25:58 +00:00
Campbell Barton
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
Campbell Barton
37fcffd0ac
fix [ #27006 ] Apply Scale at a B-Bone Skeleton causes rescale of B-Bones and offset of attached objects
2011-04-20 04:11:12 +00:00
Ton Roosendaal
c4debb1c64
Bugfix #26977 + Patch by Harley Acheson
...
Using search for operators showed ambigious names like "Duplicate" or "Delete".
Default names should give at least a descriptive label. In case operators
are collected in a group name-shortening should be handled separaly.
2011-04-19 11:17:29 +00:00
Campbell Barton
5b920bc2ff
Some strings to store ID names were too small, could cause stack corruption.
...
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
2011-04-19 06:59:49 +00:00
Campbell Barton
6bdb5e75ce
fix [ #27015 ] RNA Bug: Unpacking sounds with a long ID name fails: sound ID length wrong?!
...
also fix for OBJECT_OT_proxy_make and RENDER_OT_render using incorrect lengths for ID names.
2011-04-18 15:20:19 +00:00
Joseph Eagar
798e0b02c0
=bmesh= modifiers can now be applied with shapekeys
2011-04-15 05:20:18 +00:00
Joseph Eagar
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
Campbell Barton
24d6192f53
fix [ #26816 ] P(separate) an object messes up logic brick links
2011-04-07 08:23:00 +00:00
Ton Roosendaal
00fe87c84b
Bugfix #26672
...
Minor glitch: Add Camera operator showed option "view aligned",
but that doesn't work for camera. Is now hidden.
2011-04-01 13:56:01 +00:00
Campbell Barton
6d3546069c
fix [ #26713 ] Video Sequencer: Audio mute after making meta strip copy/paste
...
was not recursively restoring sound strips on paste.
also found many duplicate functions were defining the transform mode as in int but getting as an enum, use enum for both now.
2011-04-01 08:51:12 +00:00
Campbell Barton
70162a4abd
fix [ #26682 ] Accessing weight sometimes crashes blender
...
also replace object type check from vgroup_edit_lattice() with an assert since all callers check for lattice type.
2011-03-30 02:59:32 +00:00
Janne Karhu
e5bf21898e
Fix for [ #26617 ] convert hair particles to mesh crash rev:35787
...
* Hair to mesh conversion wasn't making sure the hairs had valid keys
* Patch by Sergey Sharybin
2011-03-28 08:27:19 +00:00
Campbell Barton
617e6a83bc
object/paint/misc-files: floats were being implicitly promoted to doubles, adjust to use floats.
...
- also UV angle stretching was using radians->deg which wasn't needed.
2011-03-27 14:59:55 +00:00
Joseph Eagar
93fa307712
=bmesh=
...
Multires interpolation. It's quite usable yet; I wanted to avoid
subsurfing the multires data and ray tracing original/new
topology. The result is kindof like trunk's interpolation.
I'll see how much better I can get it. I might have to go with
the full-on ray tracing solution. Right now, it's not very good.
Also made it so trunk files with multires open correctly.
2011-03-27 02:56:41 +00:00
Campbell Barton
8b6b5341a5
move object re-linking into a function.
2011-03-25 08:43:41 +00:00
Campbell Barton
d8e6dd705f
fix [ #26607 ] blender won't duplicate or assign new drivers on duplication
2011-03-25 07:34:44 +00:00
Campbell Barton
ddb9893ca9
some more corrections to incorrect rna get/set types.
2011-03-22 13:30:20 +00:00
Campbell Barton
82d13ad999
add missing mem-free on vertex group sorting & dont crash when calling fullscreen in bg mode.
2011-03-22 11:19:02 +00:00
Campbell Barton
d485a54b59
crash fix for Normalize All VGroups on a lattice without vgroups (probably other tools too - bug was in ED_vgroup_give_parray).
...
Also fix for crashes running operators in bg mode by using setting poll functions: WM_OT_search_menu, MESH_OT_extrude_repeat, SCREEN_OT_new
2011-03-22 10:13:42 +00:00
Campbell Barton
91e4a1bdf8
fix for crashes moving armature layers and applying loc/scale/rot in armature editmode.
2011-03-22 08:30:07 +00:00
Joseph Eagar
7ccc17b98c
=bmesh= fixed bunches of modifier stack bugs
2011-03-19 21:33:33 +00:00
Ton Roosendaal
7e69bad1c3
Bugfix #26498
...
CTRL+L "Make Links" operators were not using a correct poll(), causing
crash on using it without active object.
2011-03-14 14:00:15 +00:00
Campbell Barton
c7fccc84bf
use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf & editors.
2011-03-05 10:29:10 +00:00
Nathan Letwory
95100afc12
doxygen: blender/editors tagged.
2011-02-27 20:29:51 +00:00
Andrea Weikert
4ed5cd6cef
== UI icons ==
...
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-27 18:03:19 +00:00
Campbell Barton
2e5eb41522
pedantic warning cleanup, also remove texspace_edit() since its been added using a different method.
2011-02-27 08:31:10 +00:00
Joseph Eagar
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19:40 +00:00
Campbell Barton
197a57db69
face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swap
...
also added hide-unselected option to armature mode.
2011-02-24 16:04:36 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Campbell Barton
9349374359
add back view 1:1 operator from 2.4x (Shift+PadEnter)
2011-02-23 06:48:47 +00:00
Nathan Letwory
322ff7dfe4
I swear, it was just an innocence change in guardedalloc!
...
The butterfly wing flap, causing a nice storm in the rest of blender.
Now all dependencies should point ok again. CMakers, do double-test.
2011-02-21 12:35:04 +00:00
Campbell Barton
27e812d697
Clear some compiler warnings by commenting some functions, adding others to headers.
...
left in warnings where functions obviously need to get ported to 2.5x still.
Also, render stamp seq strip works again.
2011-02-17 22:34:41 +00:00
Campbell Barton
c6a0df59e1
incorrect type passed to BKE_free_animdata()
2011-02-17 06:23:16 +00:00
Joshua Leung
2c4fb98522
Bugfix [ #26106 ] No instant visual feed back for Dupliframes, parenting
...
problem and crash
- It turns out we still need the "copyob" still, if for nothing other
than making sure that the unkeyed transforms can get restored. This
was removed originally as I thought that just reevaluating the
animation would work.
- Removed a buggy line of logic that was causing crashes when there
was no animation data. It's better to just assume that if animation
data exists, that something exists there.
- Make Duplicates Real was not clearing data such as the new animation
data or constraints.
2011-02-16 21:54:41 +00:00
Nick Samarin
c5f6a01dd5
synched with trunk at revision 34793
2011-02-16 17:07:18 +00:00
Campbell Barton
8b7482892b
made most variables which are only used in a single file and not defined in header static for blenlib, blenkernel and editors.
2011-02-14 17:55:27 +00:00
Campbell Barton
0955c664aa
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
...
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
2011-02-13 10:52:18 +00:00
Ton Roosendaal
f7595e9882
Bugfix #26013
...
Good discovery this one.
It appeared that "pose mode" changes were not registered in our undo system.
That way the first operator you try to redo after exit posemode fails.
2011-02-10 17:23:00 +00:00