Commit Graph

49420 Commits

Author SHA1 Message Date
Nathan Letwory
4b33deeb02 Fix [#23977] toggle back to object mode not working (outliner issue)
Reported by Roland Kramer

There was already code to prevent visibility toggle through restrict column from working when in edit mode. Reshuffled
code somewhat so it works also for object operations in outliner. Also ensure operator poll for visibility and selectability toggle
checks object is not in edit mode. So this also works for selectability toggling, so no more toggling when in edit mode - it's confusing otherwise.

Added notifier and handling for it for renderability toggle in outliner. No edit mode restriction here.
2010-09-27 21:22:20 +00:00
Campbell Barton
bbfbbe8e13 bugfix, screw modifier was overwriting its own calculated normals of the original verts. 2010-09-27 20:48:50 +00:00
Campbell Barton
e310b302ae minor console fixes
- selection doesnt mess up alignment when text is added to the buffer.
- tab key is now alligned to 4 (rather then adding 4 spaces).
2010-09-27 17:22:59 +00:00
Campbell Barton
f8e5e953c5 bugfix, console text selection /w wrapped lines now works. 2010-09-27 16:35:14 +00:00
Campbell Barton
1a3cc12999 fix for interactive console selection drawing with wrapped lines. 2010-09-27 15:14:58 +00:00
Campbell Barton
28a2eedce6 console now stores selection internally with 0 index starting at the end of the line. makes internal logic much less confusing. no functional changes. 2010-09-27 14:01:16 +00:00
Janne Karhu
8bc0cfc1ca Fix: Smoke wasn't using pointcache properly.
* The cache was reset almost constantly because smoke didn't save the first frame into cache. Although not necessary for smoke, it's vital to pointcache.
* Added info message to smoke cache panel for non saved files.
* Now smoke also only updates with a framestep of 1, so that scrubbing the timeline doesn't mess up the simulation.
* Among other things fixes report #23731.
2010-09-27 12:24:12 +00:00
Campbell Barton
d6c8b41144 added CTX_wm_operator_poll_msg_get/set so failing poll functions can set messages when poll fails, at the moment only python uses this but theres nothing python specific.
only added 1 message to a poll function, so messages still need to be set in many more places to be useful.
2010-09-27 12:21:23 +00:00
Campbell Barton
11ce49830a bugfix [#24009] Crash when switching area types and performing ops
tested every view3d operator to make sure none crash.
2010-09-27 10:44:46 +00:00
Janne Karhu
afa4b855ca Fixed: Showing pointcached frames in the timeline was terribly slow when using disk cache.
* The existence of cached frames was checked each frame causing hundreds of disk operations per frame update.
* Pointcache now keeps an updated array of the cached frames for fast "frame exists in cache" queries.
* This fix also speeds up some other pointcache operations nicely.
2010-09-27 09:58:37 +00:00
Campbell Barton
03c65a0c01 bugfix [#23447] wrong vertices/edges selected in UV editor 2010-09-27 09:50:20 +00:00
Nathan Letwory
3ae8d4b1dc Explicitely cast to MultiresModifierData pointer to silence compiler warning. 2010-09-27 09:43:21 +00:00
Peter Schlaile
97cc369f72 Fix: [#24006] writeffmpeg doesn't flush delayed frames - fix attached
and [#20843] FFmpeg H264 preset gives "Couldn't initialize codec"

Thanks to Leo Sutic for the patch!
2010-09-27 07:37:36 +00:00
Campbell Barton
dbd5524970 show material hardness in solid shaded mode 2010-09-27 07:01:08 +00:00
Campbell Barton
62c7786cd9 use a struct for fixed materials rather then float[2][4], easier to follow (no functional change) 2010-09-27 06:49:27 +00:00
Campbell Barton
b68f1a9f3d fix for floating point exception. 2010-09-27 06:14:51 +00:00
Campbell Barton
8907a0808a bugfix [#23995] Do loop cuts from the space bar search while in the properties panel crashes blender. 2010-09-27 05:44:15 +00:00
Campbell Barton
0699faf9b3 disable animating the camera lens angle, this way we dont have the problem where both lens and angle are animated
(2 fcurves accessing the same data), this should be handled by the units system but for now disabling this means we don't have to deal with animated angle later on.
note: durian files didnt use animated angle anywhere.
2010-09-27 05:23:23 +00:00
Campbell Barton
b4980165f1 invalid name [#23986] Camera->Lens->Pespective->Angle input 2010-09-27 05:16:45 +00:00
Campbell Barton
767a05da44 bugfix [#24015] Deleting Objects with a Point Density Texture and Rendering Crashes Blender 2010-09-27 05:02:54 +00:00
Campbell Barton
5158684256 bugfix [#24014] Operator UI not shown in the order defined 2010-09-27 02:52:12 +00:00
Ken Hughes
98ead2ff4e Fix typo that broke build on OSX. 2010-09-26 23:58:16 +00:00
Sergey Sharybin
57527cb0ac - Save MDISPS layer when applying modifier.
All sculpting used to disappear before. Save MDISPS if new mesh has got the same faces amount.
  NOTE: maybe some other layers should be saved?
- Apply multires modififier if MDISPS was auto-created.
  Multires's applyModifier used to return unchanged DM when MDISPS was auto-created.
- Set multires totlvl from MDISPS layer when new multires was added to mesh with existing MDISPS layer.
2010-09-26 18:29:54 +00:00
Damien Plisson
cf6b2ca034 Fix for [#23912]: Replace by integer comparison a float comparison whose precision errors was causing an infinite loop during last frame audio conversion 2010-09-26 16:11:53 +00:00
Campbell Barton
47628dfab6 missing include from own commit r32117 2010-09-26 13:53:32 +00:00
Thomas Dinges
1190f43830 * Fixing Link to Release Logs. 2010-09-26 08:27:59 +00:00
Sergey Sharybin
cfc4399ab3 Added missed data listener ND_CURSOR to text space. 2010-09-26 07:07:05 +00:00
Joseph Eagar
4f570347d9 scons fix, should work now yaypython scons/scons.py 2010-09-26 06:03:46 +00:00
Brecht Van Lommel
8babc5056f Fix for fix in revision 32122, viewer node wasn't working anymore in some cases. 2010-09-25 22:21:35 +00:00
Brecht Van Lommel
0714c8af56 Fix #23991: vertex group sorting used case sensitive string compare,
now it uses case insensitive natural string compare.
2010-09-25 21:09:58 +00:00
Tamito Kajiyama
df528a9209 Merged changes in the trunk up to revision 32124. 2010-09-25 21:03:16 +00:00
Brecht Van Lommel
4127dba12c Fix #23583: crash when deleting last keyframe in an f-curve with a generator
f-modifier.
2010-09-25 20:19:56 +00:00
Brecht Van Lommel
38df1439c8 Fix #23708: F-key make links between nodes didn't add links when a node output
already had a link, not sure why this wasn't done, because the option to do it
was in the code.
2010-09-25 19:35:59 +00:00
Brecht Van Lommel
9da82e2d68 Fix #23690: threading crash with compositing nodes and scopes view. 2010-09-25 16:35:02 +00:00
Brecht Van Lommel
58082beda9 Fix #23847: keyframe insert on button not working in popup menus, e.g.
the vector popup for node inputs.
2010-09-25 14:32:26 +00:00
Brecht Van Lommel
cd429bdb50 Fix #23985: crash in graph editor with objects without material. 2010-09-25 14:14:04 +00:00
Sergey Sharybin
9f6544b426 Fix #23983: Text editor does not update immediately when unlinking a text
- Unlinked text block was sending as reference to note which isn't safe at all
- Minor reorgonize of text space listener to use switches instead of big condition
2010-09-25 13:27:42 +00:00
Brecht Van Lommel
0d3f0ff08e Fix #23901: displace node not working with negative values. 2010-09-25 11:30:46 +00:00
Campbell Barton
d305a64b69 py/rna keyframe functions can now key longer paths if called from an ID block.
eg, bpy.context.object.keyframe_insert("soft_body.plastic")
2010-09-25 10:11:36 +00:00
Brecht Van Lommel
a3b0bda708 Fix related to #23606, tweak baking error message a bit so it also covers
the case where the image can't be loaded.
2010-09-25 08:31:58 +00:00
Campbell Barton
80f6ca9850 fix for own error with recent patch edits, globbing wasnt being cleared so importing an OBJ would keep *.obj when opening a blend. 2010-09-25 08:29:25 +00:00
Sergey Sharybin
468e48982b - Ignore selected handles if control point is selected when
snapping cursor to selection (fixes #23966: Cursor to selected: incorrect behaviour in curves)
- Keep handles' of selected vectors if control point is selected when
  snapping selection to grid/cursor
- Added definitions to hard-coded numeric flags for make_trans_verts
  and removed unused proportional flag
2010-09-25 06:45:28 +00:00
Joseph Eagar
a0ab8ea3aa scons priority tweak 2010-09-25 02:47:28 +00:00
Joseph Eagar
421823e34e =BMesh: Super Knife Tool Alpha=
Implemented a new "super knife".  Activate with k.  Holding CTRL
will allow extended cutting ala old lines mode.  Confirm with enter 
and escape. You cannot cancel, btw, you can only confirm (and undo 
later if you want). Hopefully I'll support undo within the tool soon.

* Supports cutting edges, into faces, etc.  You can pretty much do whatever 
  you want.  Will snap to vertices too.
* Note that if you cut into a face, it must be valid topologically when 
  you press enter to confirm.
* It's pretty and graphical :)
* You can only cut visible geometry.
* UVs/vcols are a little buggy still

Now, thou shalt all cease and desist all lack of motivation for
testing!  No longer shall users put off testing until "it's cooler"!

:P
2010-09-25 01:54:58 +00:00
Janne Karhu
b57e09544a Fix for [#21875] Copy rotation only on y axies 2010-09-24 17:49:33 +00:00
Janne Karhu
3567eebcc2 Fix for [#23549] Copy rotation don't work if influence is another than 0 or 1
* Replaced constraint result interpolation with much simpler logic, hopefully this doesn't create any unseen complications :)
2010-09-24 17:47:28 +00:00
Campbell Barton
b0f4c3c883 bugfix [#23973] Make Single User -> Object & Data dont work as expected 2010-09-24 11:28:56 +00:00
Janne Karhu
46bcd48abf Changing loopcut count caused memory errors in some cases due to missing null check. 2010-09-24 10:49:29 +00:00
Campbell Barton
0ed109c550 missing check in recent commit 2010-09-24 10:39:26 +00:00
Janne Karhu
4a8c1e3a22 Fix for [#22289] Cancelling transform fails to revert change in f-curve handle type 2010-09-24 09:54:28 +00:00