Commit Graph

19346 Commits

Author SHA1 Message Date
Campbell Barton
daa968df22 - opening the file selector was freeing a NULL pointer
- some warnings in last commit.
2009-09-15 10:52:36 +00:00
Daniel Genrich
c8618348e0 Smoke:
* Less verbose
* More OpenGL error messages (on blender -d)
2009-09-15 10:26:36 +00:00
Brecht Van Lommel
9a2cd02ae4 UI: renamed 3dview menus to be lower case, not too important now,
but once these become extensible we need consistent names.
2009-09-15 10:23:44 +00:00
Campbell Barton
689b77ba9d - new property attribute - default_array, which returns a variable size array useful to get the defaults for operator & function arrays.
- updated python api to check for array types rather then the length since a variable length array can be 1 or 0 length.
- python docgen added .0 to the end of floats which messed up values like 1e-05
2009-09-15 10:01:20 +00:00
Matt Ebb
223bc8aee1 * Added RNA path functionality to fluidsim modifier settings, to allow keying of fluidsim settings properties.
Note: Although the properties can be animated with the RNA system, the values are not exported to the actual fluid sim yet, that can come later.
2009-09-15 03:54:13 +00:00
Daniel Genrich
41ed712ea3 Smoke:
* Bugfix for non working 3dview

Credits: Thanks to Wahooney, jesterKing and a big thanks to Matt/broken for hunting this down!
2009-09-14 22:27:10 +00:00
Daniel Genrich
524a8e32b1 Smoke:
* Fixing compile warning
2009-09-14 21:55:48 +00:00
Brecht Van Lommel
be69305d85 2.5 Bugfixes
#19302: the spin operator did not redo correct when changing properties.
Actually the problem was somewhere else, the search menu always did an
unnecessary undo push, which conflicted with an operator undo push with
the same name. Only in the case of "Spin" was this noticed, because it's
name is so short and you actually type it completely.
#19328: swapping areas could crash when dragging mouse outside the window.

Attempted fix for #19331, #19335 as well, where backspace and some other
keys give square characters instead of working as expected. Couldn't
reproducable here, so please test.
2009-09-14 20:48:05 +00:00
Guillermo S. Romero
1b2344a1f1 Also set utf8 encoded hint for window title. 2009-09-14 20:17:56 +00:00
Brecht Van Lommel
f302ebeb67 2.5 Bugfixes
#19343: vertex paint blur was not working. shared vcol was disabled
for speed, but blurring still needs it. Also fixed brushes with
size > 64 not working correct.
#19314: non-zbuffer selection did not work with background image,
drawing it made the WM matrix go out of sync.

Forgot to mention these in previous commit:
* Manipulator type was not properly initialized, .B.blend update helps,
  but still needed version patch & correct setting for new space.
* Added a utility function for the toggling region hide, instead of
  duplicating the code.
* SSS preview render preprocessing pass now also uses multiple threads.
* Added version patch for unit scale, was still 0.0.
2009-09-14 19:49:40 +00:00
Brecht Van Lommel
725c30f606 2.5 Bugfixes
#19345: can't get out of grayed out pointer field.
#19342: item_pointerR fields can't be cleared with one item.
#19341: fix hanging tooltips when manipulating regions.
#19339: context panel still allowed tabbing, but it has no header.
#19334: editing SSS settings crashed previewrender.
#19330: object mode could not be switched on from the header menu.
2009-09-14 19:12:29 +00:00
Daniel Genrich
c6107e0c76 Smoke:
* Only simulate smoke when starting from startframe
2009-09-14 17:22:51 +00:00
Campbell Barton
bee18c57d4 fix warning 2009-09-14 17:13:58 +00:00
Campbell Barton
ba5df38d66 use static functions where possible for some local functions. 2009-09-14 16:52:06 +00:00
Daniel Genrich
131c713fc1 Smoke:
* Fixing some gcc warnings
2009-09-14 16:46:34 +00:00
Daniel Genrich
cd211af417 Smoke:
* Introduce a better check for fragment support
2009-09-14 16:43:13 +00:00
Martin Poirier
b3c4952178 netrender: add "Animation on network" button to send job to master and gather the results in one step. 2009-09-14 16:30:53 +00:00
Martin Poirier
a3ce413f44 Bugfix with py operator api and modal operators. Modal operators would keep a reference to Reports locally allocated in the api functions, which would crash and burn later when the operator would actually stop.
This commit introduces a flag at the Reports level that can be used to indicate that it needs to be freed (on top of the flag already existing in the operator, which I guess could be removed).

Reports for operators called through python are only persisted if they indicate that they are running modal.
2009-09-14 16:00:42 +00:00
William Reynish
733b20f695 *Changed texture blend property Flip XY to a proper enum.
*Minor adjustments to lamp UI

*Fixed issue #19319 (missing notifier)
2009-09-14 13:31:58 +00:00
Brecht Van Lommel
4539bb9a98 Link/Append, small changes:
* Added separate menu items for Link and Append.
* Change some OPERATOR_FINISHED to OPERATOR_CANCELLED.
* Remove some IPO specific hacks, these are no longer ID blocks,
  so not necessary to take into account.
* Some comment and code formatting tweaks.
2009-09-14 12:30:49 +00:00
William Reynish
6cee5201ec Third widget commit ;)
Thanks to Broken for finding the bug.
2009-09-14 12:28:59 +00:00
Brecht Van Lommel
8d3955c28d Depsgraph:
* Move function to compute visible screen layers to BKE.
* Use this now in the depsgraph, was still using this all layers
  to flush. Still missing a way to get the current scene in
  background mode..
* Also two more function to not require a scene pointer anymore:
	* DAG_object_update_flags is now DAG_id_update_flags.
	* DAG_ids_flush_update is now available next to DAG_scene_flush_update.
2009-09-14 12:26:34 +00:00
Brecht Van Lommel
75d4a836b8 UI: don't hide Object menu in 3d view header when there is no
active object, to avoid buttons jumping too much. Also small
change in collision panel code.
2009-09-14 12:16:35 +00:00
Matt Ebb
d0aa03737e * Fix for typo in icon_only commit, causing RNA property buttons text to be doubled up
brecht: I think this is right now...? :)
2009-09-14 11:25:33 +00:00
Joshua Leung
e838af4d57 Bugfix #19337: Crash when tweaking knife operator
Knife operator now doesn't crash, but repeat operator for this won't work now since the appropriate 3D-View context info is not set when the mouse is in the Tools region (i.e. when using repeat operator in the tools panels).
2009-09-14 11:12:44 +00:00
Joshua Leung
f896b905ac Bugfixes:
* #19338: Crash when using Convert operator
Uninitialised var (basact)

* Spacebar when in 3D-View EditMode for Text gets overridden by Search Menu. I've tried adding a fix there, but it doesn't seem to work. Woraround for now is shift-space for entering text.

* Fixed some compiled warnings in wm_operators.c about naming of var named 'main'
2009-09-14 10:56:40 +00:00
Daniel Genrich
b0a3224d89 Smoke:
* put another drawing method in to test for broken
2009-09-14 10:37:13 +00:00
Daniel Genrich
ce70ed260b Smoke:
* Bugifx for no shadow on startframe when loaded from cache
2009-09-14 10:21:41 +00:00
Brecht Van Lommel
0338b05a64 Three node selection operators added, patch by Michał Ziułek, thanks!
* Select all
* Select linked to
* Select linked from
2009-09-14 08:47:13 +00:00
Joseph Eagar
cbb9815b0d updated .b.blend; show toolbar by default now, made the view3d clip start saner, and turend on grab manipulator 2009-09-14 08:38:04 +00:00
Joseph Eagar
48732cf017 knife 'mode' is now leftclick with ctrl-x held down, instead of ctrl-alt 2009-09-14 07:33:00 +00:00
Joseph Eagar
1b446d2902 to sphere transform hotkey is now alt-shift-s, since ctrl-shift-s was taken by save as. 2009-09-14 06:59:37 +00:00
Matt Ebb
84e17862cd * boundbox display option was missing from object properties 2009-09-14 06:31:20 +00:00
Joseph Eagar
894c1e98ad remove doubles uses an operator property for the merge distance. it no longer reports number of merged verts to the user, as this violates operator nonmodality and messes up last operator panel workflow. 2009-09-14 06:06:01 +00:00
Joseph Eagar
a11ef8030a 2.5 mesh cleanup: merge tools all work again 2009-09-14 05:00:03 +00:00
Daniel Genrich
9f5e42ff76 Smoke:
* Totally new try to get cache running
* Didn't try "bake" and such things yet

Hint
* Very verbose yet
* Please do only test new blend files, not old ones!

Please give me feedback on my blog about the old crashers.
2009-09-14 00:01:08 +00:00
Daniel Genrich
cf20399993 Pointcache:
* reset on object transformations
2009-09-13 23:58:03 +00:00
Guillermo S. Romero
ccf847585d Make compiler easily to override (CC & CCC) and clean up whitespace. 2009-09-13 22:34:47 +00:00
Matt Ebb
492f6589c4 New 'icon_only' wasn't actually exposed in the ui api, causing errors in the py scripts, so I added it to ItemR. Also reverted Joshua's temporary fix, which didn't seem to help much and was making the render engine menu too small. 2009-09-13 22:33:47 +00:00
Guillermo S. Romero
a4532b202b Prepare for removal of FFMPEG from extern.
make clean and full rebuild recommended.
2009-09-13 22:08:27 +00:00
William Reynish
7e7a6a193e *Changed some userpref options to enums.
*Tweaked curve UI slightly.
2009-09-13 21:36:24 +00:00
William Reynish
be7eeb888a Sculpt UI
*Changed Sculpt Modes Flip Direction to an enum so that you can explicitly choose Add or Subtract.
*Expanded the sculpt tool list. I realize Nicolas has a longer term plan for the brush tools, but at least now it's useable again.
2009-09-13 19:37:51 +00:00
Campbell Barton
8c6176b846 use Py_SetPythonHome rather then setting environment vars PYTHONHOME and PYTHONPATH 2009-09-13 18:09:13 +00:00
Peter Schlaile
d47e1fee32 == FFMPEG ==
This fixes the underlying problem of the DV crashings - within blender
code. 

Problem was, that we tried to seek on decode errors. (Unintentionally,
curposition wasn't advanced in that case). That triggered a bug within
ffmpeg, that made blender crash. My workaround fix for 2.49 actually only
prevented the crash, but didn't stop ffmpeg from only decoding black frames
after that point...

(The patch also cleans up the color conversion a little bit, by using
PIX_FMT_RGBA (still need to find a way to make it work with video files
that actually *have* an alpha channel. At least, latest FFMPEG-SVN swscaler
has the ability to use alpha.)

Looks like we can remove extern/ffmpeg now...
2009-09-13 17:52:36 +00:00
Campbell Barton
5c6eb9c4fa replace curve.curve_2d True/False with curve.dimensions (2D/3D) enum suggested by William. 2009-09-13 17:38:43 +00:00
Joseph Eagar
e903632c10 after some discussion, this is the replacement for the old loopcut tool: edge ring select displays a preview of the edge ring, and you can move the mouse with ctrl-alt held down and change the edge ring selection. 2009-09-13 16:15:26 +00:00
Daniel Genrich
cfc8d66ab0 Smoke:
* Report console error if gfx card does not support smoke drawing
2009-09-13 13:39:06 +00:00
Daniel Genrich
716953f0c1 Pointcache / Smoke:
* Disable "step" setting for smoke on GUI
2009-09-13 13:38:23 +00:00
Daniel Genrich
06a2ee4afe Smoke:
* Making edge and vertex arrays local to avoid problems
2009-09-13 12:35:35 +00:00
Joshua Leung
ca986a6874 2 Animation Fixes:
* Auto-keyframing for Paste Poses and PoseLib works again. Unfortunately, it doesn't take into account whether the transforms were changed or not...

* 'Stick to View' setting for Grease Pencil has now been inverted, since the old order was confusing.
2009-09-13 12:34:00 +00:00