Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 4790 / 5574

Revision 91be2ba by Joshua Leung
January 5, 2009, 00:38 (GMT)
2.5 - Various Cleanups/Fixes

* Animation channels - cleaned up the code for selecting channels (removed various TODO stuff that's going to be replaced by something better later). Also, added back the ctrl-shift select feature for groups, which should be extended for other channels too at some stage.
* Outliner - added missing flags to do-versions, and replaced the width calculations with the rna-width version for now, as that uses constant width of 100 with OL_X*indention
January 4, 2009, 19:39 (GMT)
2.5 MSVC9 projectfiles
updates:
* RNA: several files (rna_cloth, rna_object_force.c, rna_particle.c, rna_scriptlink.c, rna_text.c, rna_texture.c, rna_userdef.c)
* complete removal of verse and cleanup of WITH_VERSE from projectfiles
* deleted projectfiles for BL_src - not needed anymore.
* editors/mesh: mesh_intern.h was renamed from editmesh.h, new file mesh_ops.c
* editors/util: editmode_undo.c, undo.c and util_intern.h added
* editors/animation: anim_channels.c added
* editors/space_action: action_edit.c added
January 4, 2009, 19:25 (GMT)
RNA

* DNA_cloth_types.h, patch by Roelf de Kock. The gravity[3] member
is not being parsed correct by makesdna.c and will give issues
even when trying to fix it. Worked around it for now in RNA by
wrapping it manually, but this should really be fixed in the DNA
genetics code, added a comment about it in DNA_cloth_types.h.

* Handle vertex groups and uv layers more consistent now. They are
all exposed as strings now. Reason is that indices don't really
say much, and a direct pointer is not always possible because for
example a uv layer in a material can be used for multiple objects
and so there is no single pointer. In python it is not too hard
to use either since the strings works as a key for lookups.

For the user interface we can later think of some method to
generate popup menus in a way that works for vertex groups,
uv layers, bones etc.

* This also fixes the XXX's in rna_modifier.c, I think that can be
marked done.

January 4, 2009, 19:17 (GMT)
2.5

Small cleanup in region-based cursor handling.
- callback was in spacetype, now in regiontype
- made screen listener catch ND_MODE notifier and
call the active region cursor callback, if it's there.

January 4, 2009, 19:16 (GMT)
2.5
- fix warnings for append_qt (missing param)
January 4, 2009, 19:11 (GMT)
2.5

Missing call to free mesh octree in post transform function.
Was breaking x-mirror
January 4, 2009, 19:10 (GMT)
2.5

Fix compile error with AVI support
January 4, 2009, 18:26 (GMT)
2.5 / global cleanup fix
- RenderData was missing from append_movie/avi
January 4, 2009, 18:16 (GMT)
2.5 / Cleanup
- remove Verse support. This will be brought back in The Future (probably jiri + me)
This means 5k lines less in blenkernel.
- fix two small errors for global cleanup, now compiles properly with FFMPEG enabled too.
Revision 87f9e6f by Joseph Eagar
January 4, 2009, 17:54 (GMT)
cleaned up flags so they work properly as per design.
also line endings had to be normalized; I suspect svn
is being buggy, ger. I may set svn:eol-style to native
on all the files if necessary.
January 4, 2009, 17:45 (GMT)
2.5

WM: added area-listener, which can be used to tag refreshes for
either the drawing call, or use the new ED_area_tag_refresh()
function which will automatically call, after all notifiers
were handled, an the spacetype->refresh() you provided.

Added for Joshua, after reviewing Action/Dopesheet requirements.

Joshua: I've made two dummy functions in space_action.c:
- action_listener()
- action_refresh()

Wich now does a printf on activating a new object.

January 4, 2009, 14:14 (GMT)
2.5

Think global, act local!

The old favorite G.scene gone! Man... that took almost 2 days.
Also removed G.curscreen and G.edbo.

Not everything could get solved; here's some notes.
- modifiers now store current scene in ModifierData. This is not
meant for permanent, but it can probably stick there until we
cleaned the anim system and depsgraph to cope better with
timing issues.
- Game engine G.scene should become an argument for staring it.
Didn't solve this yet.
- Texture nodes should get scene cfra, but the current implementation
is too tightly wrapped to do it easily.


January 4, 2009, 07:56 (GMT)
C files reference "libredcode/format.h", which only exist in extern/libredcodec/format.h, so for now adding "extern/" as an include when redcode is enabled lets it compile,
noticed there are some win32 ifdef's that don't do anything.

should be fixed properly but this at least compiles for now.
Revision 74f9e98 by Matt Ebb
January 4, 2009, 07:50 (GMT)
* Enabled disabled drawing for 'locked' buttons
(made with uiBlockSetButLock())
Revision 0feedfe by Joshua Leung
January 4, 2009, 04:21 (GMT)
2.5 - Outliner/RNA Viewer View2d Fixes (Part 1)

Cleaned up the View2D setup stuff here, by removing all the hacky manual setting of tot and cur rects. Now the Outliner and RNA are scrollable again.

However, in the process, I uncovered a few rather nasty bugs that must've been around for ages.
1) The width-calculation code depends on te->xend for calculating the max-extents, but that is not set until drawing of channels commences. This is far too late, as it is needed for the setting of the 'tot' rect's extents, so that we can have horizontal scrolling, and an accurate horizontal scroller! I noticed that RNA version of this currently hacks around this by using constant width of 100, but that's not a great final solution.

2) There's some minor pixel offset twitching going on with the restriction columns when the view is resized. Also, for RNA, the buttons sometimes cause a few drawing artifacts. Will check on this in part 2.
Revision 125057c by Michael Fox
January 4, 2009, 02:39 (GMT)
no idea how this happened :S
Revision f2b1c96 by Michael Fox
January 4, 2009, 02:34 (GMT)
2.5
*******
- Ported show/hide objects as the clear/set restrictview operators (request of kaito)
- clear is not using a context loop as there is none currently available
- set uses a popup menu for hide select and hide unselected

hotkeys are H and Alt-H (set, clear)

- ported the undo calles, to use ED_undo_push where available
Revision fd02d7a by Joseph Eagar
January 4, 2009, 02:25 (GMT)
The conversions functions are now operator-afied.

Also tried to make the flags play nice with each other
again, since that was messing things up. I'm a
little confused on the design; I thought that flags
from the Edit****->f variables would go in
header->flag, along with the flags that live in
other variables.

I made the two temp flags (flag layer flag, not
header->flag) be at the 15th and 16th bit, since
otherwise they could probably interfere with
operator flags. I also reverted the change of
header->flag to a short, and the changes of the
bmesh-specific flags.
Revision 475a64f by Matt Ebb
January 4, 2009, 02:09 (GMT)
* Added support for displaying disabled RNA buttons

The functionality already existed via the RNA system, this
commit makes disabled buttons draw greyed out, and not respond to clicks
(previously, they would drag/edit/etc but then reset to the previous value)
January 4, 2009, 01:08 (GMT)
2.5 / Nodes / Transformations
- after talking with Martin P (theeth), I have now shuffled code around
so that there is no more exception code for nodes in the wrong places.
This means node editor now also use entirely common translation.
As proof of concept, there is now also resize and rotate support. It already
works, but there need to be a bit more thought in how those
actions are initialised for node editor. Probably some way to tell
what to use as pivot point, etc.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021