Commit Graph

19447 Commits

Author SHA1 Message Date
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
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
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
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
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
Campbell Barton
712e8c6a5c fix for negative frames messing up image sequence name. 2010-02-17 13:43:50 +00:00
Campbell Barton
b9da824821 [#21197] change layer of just linked in objects lets them vanish
missing undo push in file selector.
2010-02-17 12:21:38 +00:00
Joshua Leung
7790780006 Animation Editors: DopeSheet filter for Object-level animation
Added a new option to filter the out Object-level (i.e. transforms, object visibility/settings, and also bone animation) animation data from the channels list. As most of these settings are transforms, I've used the transform manipulator icon and named the RNA setting display_transforms. 

This is useful when trying to filter out only material animation data for example, as requested by Colin.
2010-02-17 12:03:23 +00:00
Brecht Van Lommel
2eeef0ba7b Remove some unfinished code I accidentally commit for render thread safety. 2010-02-17 11:35:20 +00:00
Joshua Leung
30d01cf240 Cleanup tweaks:
1) Decreased the alpha value for unselected F-Curves in the Graph Editor, making them more invisible to help make the selected ones stand out more.

2) Removed various outdated settings from pose bone RNA
2010-02-17 10:23:14 +00:00
Joshua Leung
a6e1998222 Animation Editors - Texture Animation:
Texture animation is now shown in the animation editors. Texture stacks are shown for each Material/Lamp/World block that uses them.

There is currently still a bit of a bug with this which means that unless the owner of the texture stack is animated too, the animation data for the textures won't show up. This will get rectified soon though.
2010-02-17 10:21:07 +00:00
Joshua Leung
f075308d20 Fill bones between joints (FKEY) was missing a suitable notifier. 2010-02-16 23:51:49 +00:00
Campbell Barton
df4d7b041e fix for make proxy, was checking dupligroup when it wasnt needed. 2010-02-16 19:41:44 +00:00
Campbell Barton
0b3dfc441e pyrna, adding back foreach functions from collections. they are needed! 2010-02-16 19:27:38 +00:00
Brecht Van Lommel
ad01c90ee3 Revert render slots commit for release, I can't find the bug or even redo
it myself, there will still be render slots just old implementation.
2010-02-16 19:24:04 +00:00
Brecht Van Lommel
f809cb6fcb Last minute fixes for render crash. 2010-02-16 18:58:15 +00:00
Ton Roosendaal
8ca226a3ef 2.51 (2.5 alpha 1) first commit. With original durian render even! 2010-02-16 18:15:26 +00:00
Andrea Weikert
7e5d27502c compile fixes for MSVC!
* function must return value!
* missing _USE_MATH_DEFINES for M_PI
2010-02-16 18:12:44 +00:00
Campbell Barton
4405b01586 minor adjustment to BLI_uniquename, the last extension is used so "A.B.001" --> "A.B.002" rather then "A.001" 2010-02-16 18:03:10 +00:00
Campbell Barton
57308d8382 [#21102] Nonunique ID names in sequencer!
now uniqute names are ensured with recursive name checking on the scene
2010-02-16 17:58:50 +00:00
Brecht Van Lommel
24a0eececf Fix user preferences window contents being shifted to the left. 2010-02-16 17:07:06 +00:00
Campbell Barton
aefe9be5db [#18961] Use const char * where appropriate (2.5)
from Sean Bartell (wtachi) 

added own changes bpy_props.c
2010-02-16 16:47:41 +00:00
Campbell Barton
2036a2638e [#21182] Make proxy for object without group crash Blender.
from Banlu Kemiyatorn (suchness), modified with more error messages.
2010-02-16 16:32:25 +00:00
Campbell Barton
bc9b873f60 bugfix [#20480] crash/lock-up for certain aspect ratios 2010-02-16 15:59:36 +00:00
Brecht Van Lommel
2061f91741 Render Slots: change the implementation by moving it from the render to the
image code, this should be clearer and makes reusing the Render struct later
on easier.
2010-02-16 15:49:22 +00:00
Brecht Van Lommel
bd638da9a0 Texture Nodes:
* Remove the manual OSA method but rather pass on derivatives to the
  textures. This means that at the moment e.g. the bricks node is not
  antialiased, but that image textures are now using mipmaps. Doing
  oversampling on the whole nodetree is convenient but it is really
  the individual textures that can do filtering best and quickest.
* Image textures in a texture node tree were not color corrected and
  did not support 2d mapping, now it's passing along shadeinput to
  make this possible. Would like to avoid this but not sure how.
* Fix preview not filling in all pixels when scaling or rotating in
  the texture nodes.
2010-02-16 15:45:19 +00:00
Campbell Barton
768f20d537 update for missing docs & dont include operator classes in sphinx docs. 2010-02-16 15:01:34 +00:00
Campbell Barton
56b8e37864 bugfix [#20938] Moving shape keys doest not correct the blend basis. 2010-02-16 13:57:23 +00:00
Campbell Barton
046bf7a6a1 bugfix [#21167] subsurf+some modifier+ 2 material FAIL
constructive modifiers after subsurf ignored face materials.
2010-02-16 10:36:17 +00:00
Joshua Leung
43af6fdae1 Quick patch from phonybone: Fix for double allocation of colorbands 2010-02-16 10:12:05 +00:00
Campbell Barton
9a6332bea9 bugfix [#21161] Multiresolution Reshape causes crash
disallow reshape running when the multires mesh isnt available.
2010-02-16 10:06:44 +00:00
Martin Poirier
1d914556f8 Missing flag to Curve Shrink Fatten transform 2010-02-16 01:42:34 +00:00
Campbell Barton
d8ce09ce53 bugfix [#21173] Autocompleate raises an error
split PropertyRNA off into 3 types, base type, collection and array, since array and collections needed internal checks inside almost every function its better to have the, as subclassed to the property type. This makes introspection more useful.

Also made printing of structs and properties prettier giveing type and length.
2010-02-15 23:43:51 +00:00