Commit Graph

20561 Commits

Author SHA1 Message Date
Martin Poirier
bd15f5122d BLI_args cleanup
Adding documentation strings in argument data.

--help is auto generated (options not manually categorized end up in the "others" section at the bottom)
2010-05-24 18:53:45 +00:00
Stefan Gartner
be44a3b7c4 Makefiles: set BF_OPENCOLLADA_LIBS for darwin so that it links when opencollada is enabled 2010-05-24 16:12:58 +00:00
Campbell Barton
0ae967e665 sound sequence strip wasnt handled by path functions correctly.
fixes make relative/absolute for sound sequences.
2010-05-24 14:41:35 +00:00
Campbell Barton
4178b44b35 - correct --help message
- fix implicit decloration of DAG_scene_sort()
- same fix for tiff as made in renderbranch
- rename 'combined peak' --> 'peak' for shorter messages while rendering.
2010-05-24 11:40:45 +00:00
Dalai Felinto
6c01b7b4f8 Logic Editor - fix for Keyboard Sensor + Copy Game Property fancy submenu
* Keyboard Sensor entry keys (key, modifier 1 and 2) can actually be any key
- (you can use Shift as main key, and D as modifier if you want). It's
- strange in my opinion, but it's 2.49 way of doing it.

* Copy Game Property (operator found in SPACE menu)
- reorganized it so the properties appear as submenu items.
- a "little lot" of work for such a small eye-candie but well I hope more
- people like it as well :)

Matt, I had to recreate the dynamic_enum to make it work. I'm count on you
for a real fix for this ;)
2010-05-24 10:38:05 +00:00
Matt Ebb
9777072c0e Fix [#21521] Displacement modifier does not update when modifing texture
Depgraph now handles texture dependencies - textures can affect objects/data via modifiers.
2010-05-24 07:30:50 +00:00
Campbell Barton
a1ada0f21c - remove OBJECT_OT_curve_add
- rename CURVE_OT_primitive_bezier_add --> CURVE_OT_primitive_bezier_curve_add # matches nurbs operator
- rename CURVE_OT_primitive_curve_path_add --> CURVE_OT_primitive_nurbs_path_add
- fix for warnings from 28923
2010-05-24 07:14:55 +00:00
Matt Ebb
5664c0397c Fix [#22278] Colour Balance Node HSV Value slider range is insufficient. 2010-05-24 02:05:23 +00:00
Matt Ebb
4e70cd4a52 Fix [#22382] Text Editor properties pannel scales, not scrolls, with MMW 2010-05-24 01:23:46 +00:00
Campbell Barton
3aab8f245a bugfix [#22398] Black spots on reflecting surfaces when using Environment Light with HDR
acos() was being called with a value around  '-1.000001' because of float precission error.
2010-05-23 21:38:27 +00:00
Campbell Barton
a97904cbcc GNU style long arguments. see help menu.
- swapped meanting of -y/-Y to enable/disable automatic python execution (matches window border -w/-W).
- removed '-B', no reason to have this.
- renamed -fpe to --debug-fpe and added to --help
2010-05-23 20:39:21 +00:00
Campbell Barton
3251d9d523 was curious if makefile still worked. they didnt, found 2 problems
- use our own openjpeg.
- libXmu isnt found/needed on ubuntu 10.04, removing, can add back if it breaks for someone else.
2010-05-23 17:45:08 +00:00
Campbell Barton
f1b9d395e3 - base_object.layers_from_view(view3d), needed for setting local layers
- module 'add_object_utils', so each script doesnt need its own add object code, dealing with layers, scene, cursor location, editmode etc.
2010-05-23 12:14:07 +00:00
Campbell Barton
c249d2b95a view3d - dont draw loose edges with render-override is enabled. 2010-05-23 10:48:35 +00:00
Campbell Barton
a9072177ba opengl render option 'view_context',
When enabled the context's 3D view will be used for rendering.
When disabled a camera view with solid draw mode will be used.

(Needed for batch rendering out animation previews without having to worry about an existing 3D view, its local layer locking and draw type)
2010-05-23 10:47:19 +00:00
Campbell Barton
d1d7c5fbd1 remove some warnings and remove reference to BF_TIFF_LIB in the help message. 2010-05-23 07:53:09 +00:00
Michael Fox
3d417a833c 2010-05-23 02:02:04 +00:00
Campbell Barton
1a2ba8072e bugfix [#22390] Lamp drawing circle bug
was drawing the circle when out of view.
2010-05-22 11:58:21 +00:00
Joshua Leung
63db7c6116 Graph Editor Selection Fix for Durian:
Animators were having trouble selecting keyframes and their handles when zoomed in extremely. This commit seems to fix these issues, which appear to have resulted from some overflowing ints, which gave out-of-view handles priority quite often.
2010-05-22 04:54:34 +00:00
Stefan Gartner
db6a7280ce Makefiles: fix building on linux/ppc 2010-05-21 21:58:37 +00:00
Stefan Gartner
c0a0f2c43e Makefiles: make sure syntax is correct... 2010-05-21 21:26:03 +00:00
Stefan Gartner
bb85284228 Makefiles: statically link tiff libs when WITH_TIFF is set to true, which is the default for all platforms 2010-05-21 21:06:00 +00:00
Sergey Sharybin
9f7c04944a Removed unused argument mmd from multires reshape functions. 2010-05-21 14:18:07 +00:00
Joshua Leung
64d057e887 Bugfix: #22385: Shift-click in NLA does not do 'extend' select
Caused by typo in selection flags code.
2010-05-21 13:01:18 +00:00
Joshua Leung
391c5fba71 Motion Paths: Experimental optimisations from joeedh for speeding up the calculation process
This works by tricking the depsgraph into giving us a smaller list of objects to evaluate, with all the necessary objects + their dependencies at the start of the list. 

On any complicated setup where non-object parameters need to be referred to (i.e. by drivers) to affect an object's transform, these optimisations will fail and the old (slower) method is still the best way (modify the ifdef and comment out the optimise depsgraph call to do so). However, we'll assume that these aren't too common in real productions, so things should be fine with these fixes. If there really is a need for both, then global options to control these things could follow.
2010-05-21 12:17:34 +00:00
Geoffrey Bantle
d5316387a4 -->Fix for bake with faces that have alpha
Baking for faces with alpha only worked if 'clear' was
turned off in bake options.
2010-05-21 09:58:26 +00:00
Campbell Barton
418f1fcba8 libtiff working on linux & cmake again. 2010-05-21 04:23:33 +00:00
Matt Ebb
2be851c966 Blender TIFF support
* Removed dynamic linking libTIFF code and change it to static linking 
(built into the blender executable). Dynamic linking made things a 
fair bit more complicated and wasn't working at all before on OS X - 
the dylib didn't exist and wasn't being copied. Since TIFF is more heavily
depended upon now in Blender, it makes sense to make it less 'optional'
and more in line with other libraries.

I've updated both CMake and scons, and CMake on OS X/64bit works fine.
It's now up to other platform/build system maintainers to enable this for 
their respective platforms (Campbell will check it for linux). For windows,
and non-64bit osx, we need static libtiff libraries in /lib.

I've added options WITH_TIFF for CMake and WITH_BF_TIFF for scons,
so if blender won't build because of this, you should be able to disable 
these options until your build system has been updated.

* Bonus feature: while doing this, I added support for loading 16bit and 32bit 
per channel TIFFs - they get converted to Blender's float buffers. Handy for 
zbrush displacement maps!
2010-05-21 03:25:38 +00:00
Campbell Barton
0ac1564f68 opengl render was freeing all images from the graphics card each update.
with some 4x4k and 4x8k textures this becomes very slow.

only free animated textures (movies and sequences)
2010-05-20 16:08:06 +00:00
Joseph Eagar
f051cd2e89 merged 28885 frame update fix to trunk, slightly updated 2010-05-20 15:18:55 +00:00
Campbell Barton
7c52bc3c21 missed some boundbox's drawing when they shouldnt 2010-05-20 15:04:47 +00:00
Joshua Leung
768c0a4fa0 Quicky untested fix for MotionPath baking bug - heads/tails doesn't work (as reported by William). Hopefully this improves/fixes the problem. 2010-05-20 12:34:32 +00:00
Joshua Leung
89b7d4a5d6 Motion Path Tweaks:
- #22155: keyframe dots not shown on path for bone keyframes that aren't in a group with a matching name. Since this situation is going to become more common in 2.5, I've added an option which will alternatively just search the entire action to find all F-Curves associated with bones. The old option is still the default though for the general cases.

- When keyframe drawing is enabled, the current frame will also be indicated on the path now as a (bigger) green dot, as requested by William. This makes it easier to see the position on the path on the current frame.
2010-05-20 12:31:55 +00:00
Joshua Leung
66ef82f313 Durian Request: Panel for editing Keyframe values numerically
This panel allows editing of the coordinates of the 'first selected keyframe' on the Active F-Curve. That is, if you've got keyframes A (5), B (7), and C (12), and B & C are both selected, then the 'active keyframe' will be B. 

While I still think it's more efficient to use the cursor for batch-setting a bunch of keyframes, there are currently problems using that for sub-frame placement on the x-axis. 

Notes:
- There is none of the averaging crap from before, where no accurate value could ever be set. 
- Take care when setting the values of the handles, since getting correct F-Curve recalc flushing working via the RNA stuff is VERY TRICKY, and has been left out for now to get something workable. I recommend setting the values numerically, then grabbing these keyframes and immediately cancelling, to get these updates done.
2010-05-20 11:49:53 +00:00
Joshua Leung
86f71fad8b Bugfix #22374: index=-1 not work for keyingset.paths.add() function
Simple typo which meant that paths with 'Entire array' set could not be reimported properly.
2010-05-20 11:04:15 +00:00
Joshua Leung
014b6c0e89 Properly restored shift-up/down arrow as alternative hotkeys for jumping between start/end frames, as mentioned by venomgfx a while ago. 2010-05-20 10:03:26 +00:00
Campbell Barton
4d708a6aa9 only-render option now wont draw wire or boundbox unless in wire or boundbox draw modes.
note: Im not all that happy with where this feature is going in terms of readability, however preview renders are very distracting when physics meshes and bounding boxes are animating over the top of characters.
2010-05-20 09:17:49 +00:00
Campbell Barton
9d62acea67 some rna numbers were signed when they shouldnt be (simplify could have its subdivisions set negative) 2010-05-20 08:51:03 +00:00
Joshua Leung
37ecf15f3f Bugfix #22204: curve modifier onto lamp energy with more than one user of lamp settings creates two modifiers
This was caused by the multi-user data appearing multiple times in the channel list. Now most editing functions filter out duplicates before doing anything to prevent these problems. 

Hopefully the additional cost of filtering the entire list an extra time won't be too much of a speed/mem hit...
2010-05-20 05:18:27 +00:00
Campbell Barton
96f529880f FCurve.evaluate() and bounds() patch from Dan Eicher 2010-05-20 04:44:10 +00:00
Campbell Barton
fcf4fcfbfc access to 3d viewport location, distance and rotation.
- rotation must stay normalized (not enforced since it could break calculations)
- view_location is flipped internally.
2010-05-19 21:10:46 +00:00
Campbell Barton
c877d2358d possible un-initialized value 2010-05-19 17:06:36 +00:00
Campbell Barton
7f575ddf89 revert 28807, fix for [#21385] Multilayer OpenEXR files import into other compositors upside down
looks like a threading problem:
 Easy to redo, 1024x436, FSA, 4 threads.

With 1 thread it runs ok, need to look into this further but no time now so reverting.
2010-05-19 16:23:09 +00:00
Thomas Dinges
67a8b3d3e5 Compile fix. 2010-05-19 11:29:36 +00:00
Campbell Barton
7c866037a0 previous commit undid DingTo's re-arrangement. 2010-05-19 11:23:50 +00:00
Dalai Felinto
a7a9862cc9 Logic UI and Operators: adjusts on Layout + copy properties operator + fix on copy logic bricks operator (and moved to OBJECT_OT)
* adjusts on Layout:
 - in order to avoid much changes when copying Logics, it's nice to have the logic s/c/a always displaying even though it's not valid (e.g. edit mesh used from a camera object).
Now a message shows in the s/c/a alerting to the problem.

* logic operators under OBJECT_OT - copy properties and logics

Matt, is it possible to have the object game properties listed as a submenu from "Copy Properties" ?
So from the "Copy Game Property" menu we would have three options:
"Copy a property" -> (submenu) prop1, prop2, prop3 
"Replace all Properties"
"Merge all Properties"

For the current task list in Logic Editor:
http://www.pasteall.org/13245
2010-05-19 09:40:45 +00:00
Joshua Leung
2d343d0774 AnimViz UI Tweak - Made Motion Paths and Onion Skinning UI's more consistent in terms of how they deal with the current 'mode' 2010-05-19 09:22:24 +00:00
Campbell Barton
9a1d586cf9 fix for possible un-initialized variable 2010-05-19 08:44:38 +00:00
Campbell Barton
b7a7859eb0 render_ -> use_ prefix, copied from render branch. 2010-05-19 08:26:33 +00:00
Campbell Barton
a6b5cebc6c remove function to check for correct rv3d->perps, could crash in some cases and blender checks that its correct in the view3d code. 2010-05-19 06:07:05 +00:00