Decided to try and make a Blender UI theme

all_working
mmm… satisfying :laughing:

1 Like

Im genuinely jealous, is that 5.01 for windows?

howmuchcheeseforabuild?

1 Like

No, I wasn’t thinking about anything else than how to do it. It’s 5.1 alpha. :laughing: I am not using alpha myself, so if you want a 5.01 build for Windows, you are in luck, I obviously want to use it and I am going to build just that eventually. But, I am COMPLETELY new to C++. I don’t know what I am doing! So it needs time. …to mature, like a good cheese. I need to go through it and understand why it all happens to work and if I messed something up by not understanding stuff :laughing:

2 Likes

Yeah me too that s why I was hoping you can do this!

ChatGPT??

I know you end up arguing with it a lot (Ive written addons with it)
but its generally pretty good with getting there, and there will be many examples for Blenders code.

@Debuk is also an addon developer and may want to help…?

Id even go for a hard coded version!

I assume you have added the functionality to the theme editor screen?

Not really. I consulted it. But it’s quite useless when it comes to Blender’s source code. Just a stream of complete nonsense. Kind of like this. It was helpful to debug though and explained a few C++ concepts to me, which to be honest was extremely helpful.

2 Likes

If you share your diff I can clean it up and make a patch anyone can apply to a custom Blender build

1 Like

Yeah the thing is… I don’t know how one shares a diff yet. :laughing:

…and I probably need to sleep. And then I have some work next weak… But I got hooked. It’s so fun to learn this!

2 Likes

Yes now that was going to be my next suggestion, (making a Patch) this +1!

git diff >> mychanges.diff
This will create a diff with all changes from the last checkout, and write them to a file named mychanges.diff.

3 Likes

I still has problems though, I did mess things up. But I’ll share it as soon as it all works.

1 Like

HA! I totally did.

But, kudos to you on trying to change in with a custom fork solution. That’s what I’m doing lately, too.

Gizmo axes highlight on hover. 1000% easier to see, than that “axis line gets a tiny bit darker when you hover” default behavior.

2 Likes

Oh, maybe I could unblock lonely verts from being hidden by constrained axis…

lonely vert

That would be awesome…

5 Likes

That bit is fun, isn’t it?

The moment when you’re thinking “ok, I’ll change this one value” and then see the 17 other freaking files that also have to be updated…

As I’m not a professional coder, perhaps I just lack the knowledge on the (presumably) sensible reasons Blender is coded this way. The more you dig through the code, the more it starts looking like a horror movie with monster doors in some places.

2 Likes

I am a professional coder and Blender code is so much worse than you could even imagine

2 Likes

Yes, I imagine usually it is extremely annoying, but since all of this is so new to me it just feels normal. C++ looks very strange to me in any case after only coding in Python. :man_shrugging:

Is it all like that? I thought Themes are extra special… :confused:

3 Likes

Most of it is worse :stuck_out_tongue:

2 Likes

OK. So I guess most important part for me is to never ever see any code that is better and I am going to be fine.

3 Likes

I couldn’t just leave it alone.

The build

@AlphaChannel Merry Christmas

The diff

@joseph I am sure I did a lot of stuff wrong. :grimacing: Please let me know what’s most annoying, I am learning. I did it from the start using 5.0.1.

Seems to work fine on Windows 11 with Nvidia GPU as far. Once again - I have no idea what I am doing, please use at your own risk. :laughing:

4 Likes

Oh wow!

Fantastic, downloading now…