Campbell Barton
02b2c2f39d
bugfix [ #21258 ] Select > Mirror causes segmentation fault.
2010-02-21 11:07:06 +00:00
Joshua Leung
f3b9ea066e
Bugfix #21245 : "Track to" (Ctrl + T) operator was missing notifier updates
...
Bugfix #21255 : Clear track operator did not remove TrackTo constraints too. This could still be made to do Locked Track and other tracking constraints later too, but for now this will do.
2010-02-21 11:05:52 +00:00
Campbell Barton
e3dba7d6f4
remove pep8 warnings
2010-02-21 10:56:14 +00:00
Campbell Barton
dd04e25a14
improved euler conversion, make sure new eulers are always compatible with the previous ones, means it doesnt result in bad interpolation.
2010-02-21 10:30:39 +00:00
Campbell Barton
5dd8d10336
[ #20116 ] calculation problem in bvh_importer.py
...
from Martin K (martinbk)
2010-02-21 09:43:09 +00:00
Daniel Salazar
273af05c80
Emmit step size was too high
2010-02-21 08:25:14 +00:00
Martin Poirier
b602c6b5fa
Better code to prevent loading scripts from .blender/scripts
...
Treat user defined script dir (where loading from base dir is ok) differently than system dirs, where we only want to load from specific subdirs.
2010-02-20 22:57:49 +00:00
Campbell Barton
8aa56414d2
BVH import working again.
...
- euler/quat rotation option
- scale, startframe options back.
- fix for adding an armature which used operators can could fail, use the data api instead.
- remove old junk
2010-02-20 22:51:36 +00:00
Martin Poirier
71125002a9
No need for this change anymore (force include to get BLO_sys_types.h in GE)
2010-02-20 22:51:22 +00:00
Martin Poirier
5589050c7e
move include where it's needed and won't break other things.
2010-02-20 22:49:45 +00:00
Elia Sarti
f7d82af101
Compile fix for CMake
2010-02-20 22:38:21 +00:00
Campbell Barton
86047ac3d5
typo in to_euler()
2010-02-20 22:36:32 +00:00
Campbell Barton
1a07aa169e
temp workaround for blender loading 2.4x scripts in ~/.blender/scripts
2010-02-20 22:12:27 +00:00
Joshua Leung
24827ce351
Fix compiling error on windows for mathutils commit
2010-02-20 21:01:05 +00:00
Campbell Barton
ac48efc0ab
allow removing datablocks in the rare case of <0 users.
2010-02-20 20:59:30 +00:00
Martin Poirier
aa67aa9ecc
Split numinput from transform (reusable in other operator).
...
Use in marker move operator.
2010-02-20 20:29:09 +00:00
Campbell Barton
02e7871149
Mathutils API: Euler support for rotation order.
...
Examples.
euler = Euler(1, 2, 3)
euler.order = 'ZXY'
euler = matrix.to_euler('XZY')
Still missing rna support. this still wont give the right order, defaulting to XYZ.
eul = object.rotation_euler
2010-02-20 19:49:04 +00:00
Campbell Barton
65a4dafcff
fix for empty xyz axis text drawing ontop of everything.
2010-02-19 20:09:42 +00:00
Campbell Barton
96b58264ca
faster function lookups, quick test through python cuts a quater the time off.
...
was doing an extra lookup for the functions property, as well as using the property iterator.
(every button & menu item draws does one of these for every redraw).
2010-02-19 16:31:03 +00:00
Campbell Barton
3bf2715039
apply visual transform to pose
...
So constrainted bones can have their transform applied to their loc/scale/rot, then remove the constraints
2010-02-19 15:34:26 +00:00
Campbell Barton
3b9fdfa9e1
dont allow linking an object into a linked scene.
2010-02-19 14:08:41 +00:00
Campbell Barton
4755ab9f80
scene_update_for_newframe was calling DAG_scene_update_flags() and BKE_animsys_evaluate_all_animation() for each set.
...
gain some speedup by only calling once.
minor printf changes to readfile.c, no functional change.
2010-02-19 13:13:21 +00:00
Joerg Mueller
f09dc08523
Enabling AV-sync again. You can now choose between No sync, Frame Dropping or AV-sync.
2010-02-19 12:20:29 +00:00
Joshua Leung
92927e5f7d
Pose Tools Cleanup:
...
Moved some of the generic code used to determine the F-Curves linked to PoseChannel transforms (as used by the Pose Sliding tools) into a separate file, in preparation for migration of PoseLib tools to this system too. This should make it easier to add some useful new functionality to the PoseLib browsing system (pending in a later commit).
2010-02-19 11:42:21 +00:00
Campbell Barton
f50962a689
in rare cases fcurves with no handle length can result in 0.0. check if the point matches the frame.
2010-02-18 19:43:13 +00:00
Campbell Barton
3085edf2af
[ #21219 ] Separate autocomplete text with command prompt in console
...
from Aurel W (aurel)
2010-02-18 17:11:12 +00:00
Campbell Barton
b5adeb922f
revert 27010, sorry but this makes playback of animation unusable & jerky, we can provide some sample files for testing.
2010-02-18 17:00:24 +00:00
Campbell Barton
3142c4367c
another speedup to constraint checking, skip the bone list and only lookup pose channels that have constraints.
2010-02-18 16:41:47 +00:00
Campbell Barton
f4b3d2dc9c
constraints were being checked twice (once from rna property update function and once from the constraint panel callback)
...
comment the update call in the panel function.
also avoid one bone lookup which was taking a fair bit of CPU when profiling.
2010-02-18 16:05:01 +00:00
Joerg Mueller
b896a007ea
Scons fixes:
...
- Removing alut
- Minor changes in linux ffmpeg default config.
2010-02-18 15:59:20 +00:00
Joerg Mueller
007374170b
Calling AV-sync in UI to what it really is!
2010-02-18 14:37:17 +00:00
Joerg Mueller
37d781b868
Basic AV Sync for forward playing.
2010-02-18 14:17:53 +00:00
Campbell Barton
8a3be98403
applying rest pose on a linked proxy would crash because object_data_is_libdata assumed proxy didnt have linked data.
2010-02-18 11:49:17 +00:00
Campbell Barton
42fd22531f
constraints unique name length was set too long (could overrun the buffer), use sizeof() with other instances of BLI_uniquename too
2010-02-18 10:14:49 +00:00
Campbell Barton
cff0110d08
experemental code got mixed up in a patch. removing.
2010-02-18 09:32:24 +00:00
Mitchell Stokes
d4bddd84e5
Update to stubs.c to get the blenderplayer linking again.
2010-02-18 08:34:12 +00:00
Tom Musgrove
0551986ff1
missed a file in previous crosscompiling related commits
2010-02-18 06:53:10 +00:00
Joshua Leung
21a2350248
Animation Playback Option (No negative frames) and Other Bugfixes:
...
* Added a user-preference setting which disallows setting the current frame number to a negative number. This setting only applies when setting the current frame by scrubbing the time cursor in a timeline view, or by typing a value into the current frame number field.
* Made the minimum frame number for the start frame to be 0, which should make setting keyframes by a regular step size less confusing. Also changed the MINFRAME define to 0 for consistency. Hopefully this doesn't cause any problems with any output formats.
* Fixed some missing channel selection cases in animation editors.
2010-02-18 00:29:08 +00:00
Jens Ole Wund
65cac9ae13
fix for MS compliers
...
keep var declaration up in .c files
2010-02-17 23:04:30 +00:00
Campbell Barton
04035b81b7
[ #21207 ] bpy.ops.object.vertex_group_sort() sorts group names, but not group data
...
support for vertex group sorting in editmode
2010-02-17 22:26:50 +00:00
Campbell Barton
0dc8026691
mostly fixed [ #21172 ] Reloading scripts leaks memory (F8)
...
the same properties were being registered many times with built in structs.
blender memory at least is not leaking, but it seems python is still not freeing some memory.
For the moment dont allow existing properties to be registered again, will need to have a way to unregister rna properties.
2010-02-17 21:58:08 +00:00
Campbell Barton
c72ab0a39e
topology based mirror, (from apricot branch)
...
- correct errors with non-mirrored meshes
- mirror weight paint on asymmetrical meshes
2010-02-17 19:50:42 +00:00
Lukas Steiblys
1a6f683b43
another attempt at fixing the VBO buffer deletion bugs
2010-02-17 18:48:02 +00:00
Campbell Barton
3c2d59e032
py/rna api property api functions crashed with empty args.
...
eg: bpy.props.BoolProperty()
2010-02-17 17:22:39 +00:00
Campbell Barton
780aa24dfe
Netrender was reloading classes multiple times
2010-02-17 17:16:04 +00:00
Campbell Barton
576b0d9777
join as UVs referenced older api function name
2010-02-17 16:31:37 +00:00
Elia Sarti
a4ed376d3e
Object's RNA cleanups, made descriptions clearer, mostly aesthetic changes. Anyone who finds these incorrect feel free to change or make me notice.
2010-02-17 16:18:41 +00:00
William Reynish
9c8406ea5d
*Removed a lingering 'Add' prefix in the Add menu to make it more consistent.
...
*Added Extrude Region/Individual to the Mesh menu
2010-02-17 16:04:06 +00:00
Campbell Barton
79b7234c5e
rename rna props for auto-keying to be consistant, user prefs were graying out auto key options that were still in use.
2010-02-17 15:14:09 +00:00
Campbell Barton
f5c9574e68
remove duplicate function.
2010-02-17 14:09:16 +00:00