Commit Graph

19764 Commits

Author SHA1 Message Date
Joshua Leung
1cf95d2494 Keying Set Fixes:
* 'Export Keying Set' operator works again - a change in the previous commit broke the created code
* Relative Keying Sets don't get their paths shown 
* Keying Set paths show options for inserting keyframes too now

---

Another attempt at fixing compile troubles, and removed some commented out + obsolete stuff.
2010-03-16 10:18:19 +00:00
Joshua Leung
f1c049137e Fixing compiler errors for those people who compile those c++ modules... bleh! 2010-03-16 08:07:43 +00:00
Matt Ebb
ca8f5cef79 Fix [#21250] Auto Refresh Movies on UV/Image editor doesn't work 2010-03-16 08:06:50 +00:00
Matt Ebb
dc5945e7f0 Fix [#21165] Moved textures don't move the animation curves 2010-03-16 07:44:57 +00:00
Joshua Leung
ea4a987fd4 == Massive Keying Sets Recode ==
After a few days of wrong turns and learning the finer points of RNA-type-subclassing the hard way, this commit finally presents a refactored version of the Keying Sets system (now version 2) based on some requirements from Cessen.

For a more thorough discussion of this commit, see 
http://sites.google.com/site/aligorith/keyingsets_2.pdf?attredirects=0&d=1

------

The main highlight of this refactor is that relative Keying Sets have now been recoded so that Python callbacks are run to generate the Keying Set's list of paths everytime the Keying Set is used (to insert or delete keyframes), allowing complex heuristics to be used to determine whether a property gets keyframed based on the current context. These checks may include checking on selection status of related entities, or transform locks.

Built-In KeyingSets have also been recoded, and moved from C and out into Python. These are now coded as Relative Keying Sets, and can to some extent serve as basis for adding new relative Keying Sets. However, these have mostly been coded in a slightly 'modular' way which may be confusing for those not so familiar with Python in general. A usable template will be added soon for more general usage.

Keyframing settings (i.e. 'visual', 'needed') can now be specified on a per-path basis now, which is especially useful for Absolute Keying Sets, where control over this is often beneficial.

Most of the places where Auto-Keyframing is performed have been tidied up for consistency. I'm sure quite a few issues still exist there, but these I'll clean up over the next few days.
2010-03-16 06:18:49 +00:00
Matt Ebb
604a2b1a18 Play Back Rendered Animation operator was left out of Screen->Render operator name change 2010-03-16 05:04:56 +00:00
Robert Holcomb
ebd63787e6 added different sampling methods in rotate node
fixed bug in difference matte node that prevented using a solid color for second input
	-also clairified some variable names to be more meaningful
2010-03-15 22:36:39 +00:00
Andrea Weikert
8fdb4d4506 Fix [#21618] Wrong Icon For BLEND file on File/Append
While the folder icon was originally planned when in append/link mode, it's easier to distinguish with a blender icon, so the folder icon is now replaced.

Also fixed issue introduced in rev. 27491 where filter settings were incorrectly set when moving out of .blend file again.
2010-03-15 20:28:13 +00:00
Brecht Van Lommel
ae6ee27d37 Fix #21619 and #21613: edge loop delete crashes, after recent transform
manipulator ctrl+click increment fix.
2010-03-15 20:22:05 +00:00
Andrea Weikert
e7fad67fab Compile fix for MSVC
- missing #define for finite and isnan
2010-03-15 18:52:22 +00:00
Tom Musgrove
3f8628ac74 fixing bad level call 2010-03-15 15:36:16 +00:00
Matt Ebb
e381395522 Fix [#21288] Colour Ramp doesn't update output
Moved color ramp RNA to rna_color.c, was very texture-centric before.
2010-03-15 04:54:31 +00:00
Matt Ebb
72cc38e05d Make Hex field in colour picker work in gamma corrected space - means that copying Hex values to
and from other apps like Photoshop works as expected.
2010-03-15 02:30:53 +00:00
Matt Ebb
352754d355 Fix [#21603] Mip-mapping setting not saved in User preferences 2010-03-15 01:12:41 +00:00
Matt Ebb
c63648abc5 Added curve Radius to properties panel in edit mode.
Related to bug [#21606] setting a Curve Radius doesn't take in account already set Values
2010-03-15 00:34:02 +00:00
Campbell Barton
0c11035854 [#21504] Projection Clone Paint broken
own error when adding re-project, broke cloning between 2 UV layers
2010-03-14 22:43:44 +00:00
Brecht Van Lommel
64078786cc Fix #20486: blender hangs upon import attempt of an .obj with >40k polys.
Added automatic generation of lookup_int callbacks for collections, for
quicker lookup by index instead of looping over the whole thing. Import
is still quite slow, though now it only takes a few seconds.

The next bottleneck seems to be running update (depsgraph, notifiers, ..)
on setting every property. I fixed part of that by avoiding a notifier
to be added each time, now it checks for duplicates.
2010-03-14 22:30:57 +00:00
Brecht Van Lommel
14c2fc3c12 Various warning fixes. 2010-03-14 21:25:01 +00:00
Jens Ole Wund
9385c46581 soft bodies kind of bug fixing:
After watching 2.5 from a distance,
i did review the soft body module
to match in 2.5 every thing can be animated rule.
Until now i did not realize, that, by default, every property 
is 'fcurve'-able unless told to be not.
I really like it that way.
However SB code did assume some things not to be
changing after birth of the SB object.  
After spending some hours with softbody.c 
/* as may be read in its history */
I think most of the SB properties are ready to go.
For those that do not, some of them never will,
i did reset the flag in the RNA definitions.

There is one not completely resolved:
bending stiffness 
which will work if the initial value was non zero,
because only in this case the secondary set of springs
needed is built at all.     

Duh, and there a zillions of cases to test ..
please do so.
2010-03-14 21:15:22 +00:00
Campbell Barton
5576b3aabf disallow 'nan' for button input and pydriver's 2010-03-14 21:04:02 +00:00
Brecht Van Lommel
ed076d74ef Rendering from 3d view in local view or with unlocked layer was not
working yet, now layer is passed along to render engine, changes quite
a few files because simple swapping trick no longer works with threading.
2010-03-14 20:24:11 +00:00
Brecht Van Lommel
114f437837 Fix crash reading files with animated particle properties. 2010-03-14 20:18:15 +00:00
Martin Poirier
cbe776655a transform: Ctrl-Click on manipulators uses increments correctly. 2010-03-14 19:38:36 +00:00
Martin Poirier
9b660f3425 [#21523] Drag Immediately only working when "Select With" is set to LMB
Partial fix. Check lauch event if left or right mouse.

Also added a bug fix for manipulator (sometimes, type = 0)
2010-03-14 18:58:14 +00:00
Brecht Van Lommel
7ecba90f65 Remove SAT texture filter. It's not working, thought it was but that's
because the mipmap was not being refreshed. Also this will be problematic
to support when I add tile/mipmap cache, so would not rather not try to.
Can be added back afterwards if someone wants to make it work.
2010-03-14 18:22:04 +00:00
Campbell Barton
d8d92b5d93 user preference to disable the splash screen 2010-03-14 18:08:12 +00:00
Andrea Weikert
a892bd6976 fix for bugreport:
#21506 'sort by' while in append/link file browser causes files to disappear

- issue was that the objects were still filtered
- temporary fix until refactoring of the append/link integration
2010-03-14 18:02:18 +00:00
Campbell Barton
07d4307af2 attempt to fix build error on msvc 2010-03-14 17:54:08 +00:00
Campbell Barton
e3c746659e strip quites off buildinfo at startup (was doing this for splash screen and python api) 2010-03-14 17:18:36 +00:00
Peter Schlaile
128ecc7e82 == Sequencer ==
This fixes [#21087] Opacity of 0 turns off effect rather than affecting transparency
and makes the whole early_out-business in strip stack a lot more readable.

The actual fix is just using the composited result in layer fall through
case (se1->ibuf_comp instead of se1->ibuf).
2010-03-14 16:36:41 +00:00
Campbell Barton
6cac9188b3 remove unused includes 2010-03-14 16:27:07 +00:00
Campbell Barton
431db9d478 remove unused includes 2010-03-14 16:06:43 +00:00
Brecht Van Lommel
b2fba2eebe Fix #21171: ztransp render aliasing problem. 2010-03-14 14:26:46 +00:00
Sergey Sharybin
ac76568e67 Fixed incorrect calculation of constructive modifiers when rendering.
DerivedMesh was crating from object's disp instead of specified one.
2010-03-14 13:05:42 +00:00
Brecht Van Lommel
004925c0f1 Fix #21572: command line render start frame can't be < 1. I've set it
to use MINFRAME now which is 0, negative frames are not supported for
this yet.
2010-03-14 12:49:55 +00:00
Thomas Dinges
827938d085 Bugfix for [#21602] "C" Hotkey conflict when editing curve.
Remapped "Cyclic Toggle" to ALT+C.
2010-03-14 12:35:15 +00:00
Thomas Dinges
bd34be86bf Bugfix for [#21560] space bar in edit mode of bezier curves doesnt work
The wrong flag was used, OB_CURVE instead of OB_FONT.
2010-03-14 12:12:48 +00:00
Sergey Sharybin
94d06bf3d4 Fix #21594: converting bevel objects to mesh stops displaying them in spacial cases
Mesh's boundbox should be re-calculated after curve->mesh conversion.
To avoid troubles with displaying texture space i've used
tex_space_mesh() for this.
2010-03-14 12:12:21 +00:00
Joshua Leung
15f0907563 PyAPI Bugfix - Fix for crash on struct.path_to_id() 2010-03-14 11:44:24 +00:00
Sergey Sharybin
7da0c4c699 Fix #21599: Duplicating an object with solidify doesnt copy the flags correctly
Someone forgot to copy solidify modifier's flag.
2010-03-14 08:15:20 +00:00
Jens Ole Wund
c56f04d349 soft body property nodemass became 'hot' for meshes
could not test for lattices and curves since parts of the UI 
is missing
will try to fix this next .. hurms not knowing what i am
doing there
2010-03-13 21:22:56 +00:00
Jens Ole Wund
eea9453470 softbody properties mingoal maxgoal are 'hot' now
for meshes lattices and curves
changes work immediately in the running simulation
2010-03-13 19:12:54 +00:00
Robert Holcomb
dfb59dbaa5 added method to change algorithm used in channel matte node. Limit a channel by another channel or limit by max of remaining channels. 2010-03-13 14:47:26 +00:00
Sergey Sharybin
975cf38d6a Fix #21282: Segfault when using "Text on curve" option
Ignore textoncurve property if it's type isn't OB_CURVE, since
only curves could have a path.
2010-03-13 11:22:39 +00:00
Martin Poirier
8cae162245 [#21580] -- argument tries to load as a blend file
Stop processing arguments on --
2010-03-13 04:51:24 +00:00
Jens Ole Wund
9439c0b1cb getting close to 2.5 'everything can be animated paradigm'
well meshes do .. I've not been looking a the tail yet. 
softbody.c
2010-03-13 02:43:25 +00:00
Guillermo S. Romero
ee35677729 Respect "divisible by 8" padding. 2010-03-13 02:35:32 +00:00
Matt Ebb
25a14bad61 Fix [#21351] PROPERTIES: Resolution changes based solely on changing
encoding format

Bypassed existing hardcoded ffmpeg presets that executed when changing
format, replaced with bpy presets.

Leaving old code there for now, haven't got python/rna access to the ffmpeg
id properties.. Anyone know how to do this? 
Code snippets here: http://www.pasteall.org/11657/c
2010-03-13 00:17:52 +00:00
Robert Holcomb
85066b5e05 updated despill node to incorperate changes from Xavier Thomas's patch #18012 2010-03-12 18:47:35 +00:00
Brecht Van Lommel
0249d26ca7 Fix #21042: sculpt not working from orthographic camera view. 2010-03-12 17:12:04 +00:00